Introduction of typescript 3.0 and new features of typescript 3.0
2. — build: This command may be executed using tsc –build for building the complete project. There is the various mode of rebuilding like dry, clean, verbose, force.
3. Tuple type with REST parameters: Now REST parameters may be written using tuple types. For example below are two ways to write functions with tuple type and both are the semantically same declaration.
declare function foo(…args: [string, number, boolean]): void;
declare function foo(args_0: string, args_1: number, args_2: boolean): void;
4. REST parameters as generic types :
This enables higher-order capturing and spreading of partial parameter lists.
5. New datatype 'Unknown': typescript 3.0 introduced new data type 'Unknown'. Unknown is the least capable type of typescript3.0.