Alignerr71 open jobs

Frontend TypeScript Engineer

FrontendPosted 2 days agovia Himalayas, a remote job board

Work type
RemoteIn India, the US, the UK, Canada, Germany, Australia and Singapore
Experience
3–5 years
Pay
Not listedUsually ₹6.2–14 LPAFrontend, median at 1–9 years, in India (Payscale)
Posted
2 days ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on TypeScript, React, Angular and 3 more

About the job

Frontend TypeScript Engineer (AI Training)

About the Role

What if your deep expertise in TypeScript could directly influence how AI writes code for millions of developers around the world? We're looking for experienced Frontend TypeScript Engineers to review, evaluate, and guide AI-generated code — helping cutting-edge AI models understand what truly type-safe, scalable, and modern web development looks like.

This is a fully remote, flexible contract role. You'll work alongside leading AI research teams, applying your real-world frontend knowledge to tasks that have a lasting impact on how AI understands and produces TypeScript code.

  • Organization: Alignerr
  • Type: Hourly Contract
  • Location: Remote
  • Commitment: 10–40 hours/week

What You'll Do

  • Review AI-generated TypeScript code for strict type safety, accurate interface design, and correct generic usage
  • Develop complex, type-safe frontend components that demonstrate best practices in modern web architecture
  • Provide detailed technical commentary on architectural decisions and type-driven development strategies
  • Identify and flag ambiguities or errors in AI responses related to complex type definitions and asynchronous frontend patterns
  • Work independently and asynchronously — fully on your own schedule

Who You Are

  • Deep expertise in TypeScript — including static typing, generics, interfaces, and utility types
  • 3–5 years of hands-on experience with modern frontend or full-stack frameworks such as React, Angular, Next.js, Nuxt.js, or Node.js
  • Strong written and verbal communicator who can clearly articulate technical reasoning
  • Naturally detail-oriented with a high standard for code quality and correctness
  • Bachelor's degree or higher in Computer Science or a related field preferred

Nice to Have

  • Experience with data annotation, model evaluation, or AI training workflows
  • Familiarity with full-stack TypeScript patterns and performance optimization
  • Background in code review, technical writing, or engineering mentorship

Why Join Us

  • Work on cutting-edge AI projects alongside leading research labs
  • Fully remote and flexible — work when and where it suits you
  • Freelance autonomy with the structure of meaningful, task-based work
  • Make a direct, tangible impact on how AI understands and writes modern TypeScript
  • Potential for ongoing work and contract extension as new projects launch

Originally posted on Himalayas

Interested?Frontend TypeScript Engineer at Alignerr

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on TypeScript, React, Angular and 3 more

Interview questions for this job

For the skills the ad mentions: TypeScript, React, Angular, Next.js, Vue and Node.js.

543 questions
  • When to use JSX.Element vs ReactNode vs ReactElement?TypeScript

    What is the difference between JSX.Element, ReactNode, and ReactElement?

    A ReactElement is an object with type, props, and key properties:

    interface ReactElement<
      P = any,
      T extends
        | string
        | JSXElementConstructor<any> = string
        | JSXElementConstructor<any>,
    > {
      type: T;
      props: P;
      key: string | null;
    }
    

    A JSX.Element is a ReactElement<any, any>. It exists as various libraries can implement JSX in their own way:

    declare global {
      // …
      namespace JSX {
        // …
        interface Element extends React.ReactElement<any, any> {}
        // …
      }
      // …
    }
    

    A ReactPortal is a ReactElement with a children property:

    interface ReactPortal extends ReactElement {
      children: ReactNode;
    }
    

    A ReactNode is a ReactElement, string, number, Iterable<ReactNode>, ReactPortal, boolean, null, or undefined:

    type ReactNode =
      | ReactElement
      | string
      | number
      | Iterable<ReactNode>
      | ReactPortal
      | boolean
      | null
      | undefined;
    

    Example:

    <div> // <- ReactElement
      <Component> // <- ReactElement
        {condition && 'text'} // <- ReactNode
      </Component>
    </div>
    

    Why do the render methods of class components return ReactNode, but function components return ReactElement?

    This is due to historical reasons.

    A Component.render returns a ReactNode:

    class Component<P, S> {
      // …
      render(): ReactNode;
      // …
    }
    

    A FunctionComponent returns a ReactElement<any, any> | null:

    interface FunctionComponent<P = {}> {
      (props: PropsWithChildren<P>, context?: any): ReactElement<any, any> | null;
      propTypes?: WeakValidationMap<P> | undefined;
      contextTypes?: ValidationMap<any> | undefined;
      defaultProps?: Partial<P> | undefined;
      displayName?: string | undefined;
    }
    

    How do I solve this with respect to null?

    Type it as ReactElement | null just as React does. Or let TypeScript infer the type.

    From Stack Overflow: asked by Golo Roden, answered by Jonas Wilms (CC BY-SA 4.0)

  • What are portals in React?React

    A Portal is a React feature that enables rendering children into a DOM node that exists outside the parent component's DOM hierarchy, while still preserving the React component hierarchy. Portals help avoid CSS stacking issues—for example, elements with position: fixed may not behave as expected inside a parent with transform. Portals solve this by rendering content (like modals or tooltips) outside such constrained DOM contexts.

    ReactDOM.createPortal(child, container);
    
    • child: Any valid React node (e.g., JSX, string, fragment).
    • container: A real DOM node (e.g., document.getElementById('modal-root')).

    Even though the content renders elsewhere in the DOM, it still behaves like a normal child in React. It has access to context, state, and event handling.

    Example:- Modal:

    function Modal({ children }) {
      return ReactDOM.createPortal(
        <div className="modal">{children}</div>,
        document.body)
      );
    }
    

    The above code will render the modal content into the body element in the HTML, not inside the component's usual location.

    From ReactJS Interview Questions & Answers (MIT)

  • What is the difference between Subject and BehaviorSubject?Angular

    A BehaviorSubject holds one value. When it is subscribed it emits the value immediately. A Subject doesn't hold a value.

    Subject example (with RxJS 5 API):

    const subject = new Rx.Subject();
    subject.next(1);
    subject.subscribe(x => console.log(x));
    

    Console output will be empty

    BehaviorSubject example:

    const subject = new Rx.BehaviorSubject(0);
    subject.next(1);
    subject.subscribe(x => console.log(x));
    

    Console output: 1

    In addition:

    • BehaviorSubject should be created with an initial value: new Rx.BehaviorSubject(1)
    • Consider ReplaySubject if you want the subject to get previously published values.

    From Stack Overflow: asked by Mike Jerred, answered by ZahiC (CC BY-SA 4.0)

  • Why useEffect running twice and how to handle it well in React?Next.js

    useEffect being called twice on mount is normal since React version 18 when you are in development with StrictMode. Here is an overview of the reason from the doc:

    In the future, we’d like to add a feature that allows React to add and remove sections of the UI while preserving state. For example, when a user tabs away from a screen and back, React should be able to immediately show the previous screen. To do this, React will support remounting trees using the same component state used before unmounting.

    This feature will give React better performance out-of-the-box, but requires components to be resilient to effects being mounted and destroyed multiple times. Most effects will work without any changes, but some effects do not properly clean up subscriptions in the destroy callback, or implicitly assume they are only mounted or destroyed once.

    To help surface these issues, React 18 introduces a new development-only check to Strict Mode. This new check will automatically unmount and remount every component, whenever a component mounts for the first time, restoring the previous state on the second mount.

    This only applies to development mode, production behavior is unchanged.

    It seems weird, but in the end, it's so we write better React code, bug-free, aligned with current guidelines, and compatible with future versions, by caching HTTP requests, and using the cleanup function whenever having two calls is an issue. Here is an example:

    /* Having a setInterval inside an useEffect: */
    import { useEffect, useState } from "react";
    const Counter = () => {
      const [count, setCount] = useState(0);
      useEffect(() => {
        const id = setInterval(() => setCount((count) => count + 1), 1000);
        /* 
           Make sure I clear the interval when the component is unmounted,
           otherwise, I get weird behavior with StrictMode, 
           helps prevent memory leak issues.
        */
        return () => clearInterval(id);
      }, []);
      return <div>{count}</div>;
    };
    export default Counter;
    

    In this very detailed article, React team explains useEffect as never before and says about an example:

    This illustrates that if remounting breaks the logic of your application, this usually uncovers existing bugs. From the user’s perspective, visiting a page shouldn’t be different from visiting it, clicking a link, and then pressing Back. React verifies that your components don’t break this principle by remounting them once in development.

    For your specific use case, you can leave it as it's without any concern. And you shouldn't try to use those technics with useRef and if statements in useEffect to make it fire once, or remove StrictMode, because as you can read on the doc:

    React intentionally remounts your components in development to help you find bugs. The right question isn’t “how to run an Effect once”, but “how to fix my Effect so that it works after remounting”.

    Usually, the answer is to implement the cleanup function. The cleanup function should stop or undo whatever the Effect was doing. The rule of thumb is that the user shouldn’t be able to distinguish between the Effect running once (as in production) and a setup → cleanup → setup sequence (as you’d see in development).

    Read the rest at the sourceFrom Stack Overflow: asked by hossein fti, answered by Youssouf Oumar (CC BY-SA 4.0)

  • Methods vs Computed in VueVue

    Computed values and methods are very different in Vue and are definitely not interchangeable in most cases.

    Computed Property

    A more appropriate name for a computed value is a computed property. In fact, when the Vue is instantiated, computed properties are converted into a property of the Vue with a getter and sometimes a setter. Basically you can think of a computed value as a derived value that will be automatically updated whenever one of the underlying values used to calculate it is updated. You don't call a computed and it doesn't accept any parameters. You reference a computed property just like you would a data property. Here's the classic example from the documentation:

    computed: {
      // a computed getter
      reversedMessage: function () {
        // `this` points to the vm instance
        return this.message.split('').reverse().join('')
      }
    }
    

    Which is referenced in the DOM like this:

    <p>Computed reversed message: "{{ reversedMessage }}"</p>
    

    Computed values are very valuable for manipulating data that exists on your Vue. Whenever you want to filter or transform your data, typically you will use a computed value for that purpose.

    data:{
        names: ["Bob", "Billy", "Mary", "Jane"]
    },
    computed:{
        startsWithB(){
            return this.names.filter(n => n.startsWith("B"))
        }
    }
    <p v-for="name in startsWithB">{{name}}</p>
    

    Computed values are also cached to avoid repetitively calculating a value that doesn't need to be re-calculated when it hasn't changed (as it might not be in a loop for example).

    Method

    A method is just a function bound to the Vue instance. It will only be evaluated when you explicitly call it. Like all javascript functions, it accepts parameters and will be re-evaluated every time it's called. Methods are useful in the same situations any function is useful.

    data:{
        names: ["Bob", "Billy", "Mary", "Jane"]
    },
    computed:{
        startsWithB(){
            return this.startsWithChar("B")
        },
        startsWithM(){
            return this.startsWithChar("M")
        }
    },
    methods:{
        startsWithChar(whichChar){
            return this.names.filter(n => n.startsWith(whichChar))
        }
    }
    

    Vue's documentation is really good and easily accessible. I recommend it.

    From Stack Overflow: asked by Bootstrap4, answered by Bert (CC BY-SA 4.0)

  • Do you have any weaknesses?Behavioural

    You should be honest when answering questions on your weaknesses. Say how you're working to improve them.

    Example

    Question - "Do you have any weaknesses?"

    Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Frontend developer jobs in India (196) and Remote Frontend developer jobs in India (121)