Top "Typescript-typings" questions

Typings is the simple way to manage and install TypeScript definitions.

Is there typescript definition for DOM nativeElement?

I am testing an Angular2 component and want to assert nativeElement's property of the component, but there is no typescript …

angular typescript-typings angular2-testing
Define a list of optional keys for Typescript Record

I want to type an object which can only have keys 'a', 'b' or 'c'. So I can do it …

typescript typescript-typings
What is "DefinitelyTyped"?

I see "DefinitelyTyped" is something related to TypeScript/JavaScript development, but I couldn't understand its use or some code sample …

typescript typescript-typings definitelytyped
How to type (typescript) a Form component with onSubmit?

I've got my own Form component which I want to keep separated from the Parent Component. const Form: React.FC&…

reactjs typescript typescript-typings
Moving from typings to @types using Visual Studio & Typescript 2.0.3

I've tried to remove typings from my web project (Visual Studio 2015 Community) and install d.ts files via new NPM @…

visual-studio-2015 typescript-typings typescript2.0