Skip to content

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

License

Notifications You must be signed in to change notification settings

BobochD-Brew/TypeScript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of typescript

Expose TupleType's members names

const f = (arg_1: string, arg_2: number) => {};
type params = Parameters<typeof f>; // [string, number]
type names = params["$byName"] // { arg_1: string, arg_2: number }

Dynamic JSX Elements result type

export declare namespace JSX {
    export type ElementOf<T> = T;
}
const a = <div /> // a: "div"
const a = <Component /> // a: typeof Component

About

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Other 0.1%