--alwaysStrict
--alwaysStrict is defined as: to flag TSC to apply Strict Mode. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Strictness Config, TSC CMD Flag Settings, Tsc S
--alwaysStrict is defined as: to flag TSC to apply Strict Mode. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Strictness Config, TSC CMD Flag Settings, Tsc S
--noImplicitAny is defined as: to flag TSC to prevent Type Inference for any - enforce explicit Type for Parameter, Exception, etc. Topics on: . Read more: JS,
--noImplicitThis is defined as: to flag TSC to throw error when Type of this keyword unclear. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Strictness Config
--strictFunctionTypes is defined as: to flag TSC to enforce stronger checks for function Types. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Strictness Conf
--strictNullChecks is defined as: to flag TSC to throw error when null is not explicitly defined. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Strictness Co
--strictPropertyInitialization is defined as: flag to set TSC to throw error when properties in class definitions are not initialized. Topics on: . Read more: J
!snippet Object-as-Record. Topics on: ; semicolon separated interface for Object-as-Record, , comma separated interface for Object-as-Record. Read more: JS, T
!snippet Typed Interface. Topics on: use an interface to define type of object, use interface to annotate class instance. Read more: JS, TS, TS Syntax, Type, Ba
!snippet Typed Rest Parameter. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Function Type, Typed Rest Parameter|FullStack Wiki by Roger J
.d.ts is defined as: TS declaration/definition file. Topics on: . Read more: JS, TS, TS Syntax, Modules TS, Dts|FullStack Wiki by Roger J
.map is defined as: file to bridge JS to TS input file (.TS). Topics on: generates app.js.map, allows inspecting .ts code Browser (Sources tab). Read more: JS,
.tsx is defined as: TS implementation file with JSX. Topics on: . Read more: JS, TS, TS Syntax, Modules TS, Tsx, JSX|FullStack Wiki by Roger J
'compilerOptions'. Topics on: /*Language and Environment */ settings, /* Modules */, /* Emit */, /* Type Checking */. Read more: JS, TS, TS Def, TSC, TSC Comman
'exclude': ['_FILE_PATHS', '_OR_ENTIRE_FOLDERS_'] is defined as: to exclude file/dir from TSC. Topics on: 'exclude': ['node_modules'] included by default. Read
'extends' is defined as: to add additional tsconfig schema for library. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Commands, Tsconfigjson, Extends | Wiki
'lib': [] is defined as: to set which default objects & features TSC knows. Topics on: 'lib': [] defaults to JS Library & Web API for Browser Runtime, 'target':
'noEmit': true is defined as: to disable outputting any files. Topics on: 'noEmit': true used to run TSC for Type-Checking only. Read more: JS, TS, TS Def, TSC,
'noEmitOnError': true is defined as: to disable ANY output file if any type errors found. Topics on: 'noEmitOnError': true will prevent output of even correctly
'noImplicitAny': true is defined as: to throw Exception when any Parameter inferred as any. Topics on: 'noImplicitAny': true does not throw on Variable Declarat
'sourcemap': true is defined as: to create .map ext for debug. Topics on: .map. Read more: JS, TS, TS Def, TSC, TSC Commands, Tsconfigjson, Compiler Options, Em
'strictNullChecks': true is defined as: to throw Exception when access Variable which potentially be null/undefined. Topics on: . Read more: JS, TS, TS Def, TSC
'target': 'es2016' is defined as: to set ECMAScript version to Downlevel to. Topics on: Downlevel. Read more: JS, TS, TS Def, TSC, TSC Commands, Tsconfigjson, C
{ useSelector }. Topics on: by default state: unknown, no communication from redux to react, requires manual config, does not know type of data in store. Read m
@link is defined as: TSDoc tag to create Hyperlink to other page in docs or external link. Topics on: . Read more: JS, TS, TS Stack, TS Doc, TS Doc Tag, Link, H
/* Emit */. Topics on: 'declaration': true, 'sourcemap': true, 'outFile': './', 'outDir': './dist', 'rootDir': './', 'removeComments': true, 'noEmit': true, 'no
/* Modules */. Topics on: 'module': 'commonjs', 'resolveJsonModule': true. Read more: JS, TS, TS Def, TSC, TSC Commands, Tsconfigjson, Compiler Options|Dev Wiki
/* Type Checking */. Topics on: 'strict': true, 'noImplicitAny': true, 'strictNullChecks': true, 'strictFunctionTypes': true, 'strictBindCallApply': true, 'stri
/*Language and Environment */ settings. Topics on: 'target': 'es2016', 'lib': []. Read more: JS, TS, TS Def, TSC, TSC Commands, Tsconfigjson, Compiler Options
// @ts-expect-error is defined as: tell TSC to expect & suppress static error on next line. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Directive| Dev Wiki
actionCreators. Topics on: . Read more: JS, TS, TS Syntax, TS With React, Add Use Ref With Types, TS Redux, Create Typed Custom Hooks, Action Creators| Dev Wiki
add types to event handlers. Topics on: type inference only applies to inline JSX, mouse hover inline event prop to get copy-paste correct event type auto-infer
add useRef() with types. Topics on: Fix by add <HTMLInputElement>, alt+click HTMLInputElement to see other HTML element types - assign relevant element type dep
Alias is defined as: custom Type to store & reuse Type Annotation & improve Readability. Topics on: type. Read more: JS, TS, TS Syntax, Type, Compound Type, Ali
Angle Bracket Notation is defined as: <> Type Expression to define Generic Type Placeholder. Topics on: . Read more: JS, TS, TS Syntax, Type, Type Annotation, A
any is defined as: (default) untyped anonymous Type, can be literally anything. Topics on: any is bad because TSC is unable to do any type-checking. Read more:
Array is defined as: TS Extended Type for Array. Topics on: CAPITAL Array NOT array, default JS: typeof [] === 'object', List, Tuple, TS annotate the following
as is defined as: Type Assertion Type Operator to Type Assertion Variable as Type. Topics on: !snippet assert data as Array. Read more: JS, TS, TS Def, TSC, Typ
ASU is defined as: Arbitrary # Same type Unkown names. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Typed Object, Interface, Dictionary, ASU|Wiki
Base Type. Topics on: set, Top Type, any, unknown, void, never, Typed Object, enum, Function Type, Typed Classes, Numeric Literal Type, String Literal Type, Arr
bottom type is defined as: empty Type set to match nothing but itself; never. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Never, Bottom Type, Se
combineReducers. Topics on: export type RootState, create type for reducers which will be used to add type to hooks such as useSelector. Read more: JS, TS, TS S
Compound Type is defined as: Combo Type of 2+ Basic Types via & or | Type Operator. Topics on: Alias, Union Type, Intersection Type, Mapped Type. Read more:
Computed Enum Member is defined as: Enum Member initialized via arbitrary Expression. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Enum, Enum Mem
Constant Enum Member is defined as: Enum Member initialized via Expression, result computed at Compile Time. Topics on: . Read more: JS, TS, TS Syntax, Type, Ba
Create TS Redux File Structure. Topics on: . Read more: JS, TS, TS Syntax, TS With React, Add Use Ref With Types, TS Redux|FullStack Wiki by Roger J
Create Typed Custom Hooks. Topics on: actionCreators, useActions(), useTypedSelector(). Read more: JS, TS, TS Syntax, TS With React, Add Use Ref With Types, TS
Creating project. Topics on: using NPM to CRA new react-typescript app, using yarn to create new react-typescript app, create TS files based on JSX, MUST use .t
Decorator. Topics on: . Read more: JS, TS, TS Syntax|FullStack Wiki by Roger J
Def interface for props. Topics on: names & types defined in Child, TS checks Child receiving correct named & typed prop, TS checks Parent provides correct prop
DefinitelyTyped is defined as: 💀defunct Software Repository & search engine for 3rd party .d.ts - !deprecated since package repos now include type definitions
Dictionary is defined as: Object with ASU arbitrary # properties with same type & unknown names (at Compile Time). Topics on: ASU. Read more: JS, TS, TS Syntax,
Discriminated Union is defined as: Union Type with overlapping property of different values. Topics on: Discriminant. Read more: JS, TS, TS Syntax, Type, Compou
Downlevel is defined as: (TS term) to Transpile to older JS version. Topics on: set TS compiler to target ES5 for index.ts. Read more: JS, TS, TS Def, TSC, TSC
Dynamic Level is defined as: TS Runtime Language Level of JS Source Code & Variables. Topics on: Values exist on Dynamic Level, regular functions exist on Dynam
enum is defined as: Enumerated set of named constants Type. default numbered. optional string member assign via =. Topics on: Numeric Enum, each enum member has
enum Design Pattern. Topics on: Enum Bit Patterns (12.4.1), enum to group constants, nested under same namespace, enum for more descriptive alternative to boole
Enum Member is defined as: Name & Value pair of enum. Topics on: Member Definition, Literal Enum Member, Constant Enum Member, Computed Enum Member. Read more:
export type RootState. Topics on: . Read more: JS, TS, TS Syntax, TS With React, Add Use Ref With Types, TS Redux, Combine Reducers, Export Type Root State|Wiki
Function Overload is defined as: Design Pattern to reuse multiple versions of same function with various Function Signature. Topics on: Overload Signature, Func
Function Signature is defined as: Type Annotation to define function I/O. Topics on: Types, return value, method modifiers, Parameter. Read more: JS, TS, TS Syn
Function Type is defined as: Type to annotate Methods & Callback Function with implicit return of any. Topics on: use function type annotations to, use ': void'
Generic Type is defined as: factory for Types, defined using Angle Bracket Notation, to annotate with Generic Type Placeholder for TSC to infer & fill in. Topic
Generic Type Parameter is defined as: (convention to use) single uppercase character for Generic Type Parameter. Topics on: . Read more: JS, TS, TS Syntax, Gene
Generic Type Placeholder. Topics on: . Read more: JS, TS, TS Syntax, Generics, Generic Type, Generic Type Placeholder|FullStack Wiki by Roger J
Generic Type Variable is defined as: special Variable that works on Types instead of Values. Topics on: . Read more: JS, TS, TS Syntax, Generics, Variable, Type
Generics is defined as: generic (algebraic) placeholder to work with any variety of Types, but allow Type Inference to catch specific Type. Topics on: Generics
implements?. Topics on: makes sure class implements interface, checks all props qualify, invert dependency and make sure other input classes satisfy arg params,
Index Signature is defined as: TS Syntax to express Dictionary with arbitrary key map to value. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Type
Initialize project folder to run with TS is defined as: tsc --init. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Commands|FullStack Wiki by Roger J
Initializer is defined as: Value assigned to Enum Member name. Topics on: can omit Enum Member Initializer for first Enum Member (defaults to zero) || if previo
interface is defined as: Type to define Object shape & behavior blueprint. Topics on: use Interface to Type Object as either Record or Dictionary, Record, Dicti
Intersection Type is defined as: Compound Type to merge via & Type Operator to express Type as being ALL of Type set. Topics on: Intersection Type related to
My template for mdx
JSON-Schema is defined as: Scheme to annotate/validate JSON struct. Topics on: Documentation Generator for JSON?. Read more: JS, TS, TS Stack, Scheme, JSON|Wiki
Language Level is defined as: TS exists on Dynamic Level & Static Level. Topics on: Dynamic Level, Static Level, TS improves DX, Readability at Static Level, TS
Language Service is defined as: component layer of TSC to provide tool integration with IDE for more features. Topics on: auto-complete, code formatting, code h
List is defined as: Array with sequence of same Type elements & variable length. Topics on: Array List Type Expression let arr1: number[] = [1,2,3];, Array Lis
lite-server is defined as: CLI Dev tool to run lightweight local dev node server. Topics on: . Read more: JS, TS, TS Stack, Lite Server, CLI, Dev Tool| Dev Wiki
Literal Enum Member is defined as: Enum Member with Initializer either explicitly initialized via number/string Literal | omitted Initializer (implicit value).
Member Definition is defined as: Assign Initializer value as Enum Member, inside enum via = operator. Topics on: Initializer, !convention to name Enum Member wi
method modifiers. Topics on: public, static, prototype. Read more: JS, TS, TS Syntax, Type, Base Type, Function Type, Function Overload, Function Signature|Wiki
Modules & TS. Topics on: .ts, .tsx, .d.ts, some libraries already include type definition files, most popular libraries have type definition files created, acce
must ts-annotate try-catch err is defined as: . Topics on: workaround: dev.to/jdbar/the problem with handling node js errors in typescript and the workaround m6
namespace is defined as: TS Syntax to group related Source Code (mainly for API). Topics on: namespaces in TS previously referred to as 'internal modules'. Read
Narrow is defined as: to reduce static type T to a (narrowed down) subset of T. Topics on: . Read more: JS, TS, TS Syntax, Type Guard, Narrow | Full-Stack Wiki
never is defined as: bottom type to rep values never observed (or never return from function). Topics on: bottom type, functions that throw Exception or always
Non-exception Failures is defined as: Unexpected behavior which doesn't throw Exception (in default JavaScript). Topics on: Non-exception Failures get flag by T
Non-Null Assertion Operator is defined as: postfix ! Type Assertion to Type Assertion that Variable ≠undefined || null. Topics on: ! removes null & undefined
Numeric Enum is defined as: enum with number as member value. Topics on: numeric enum signature. Read more: JS, TS, TS Syntax, Type, Base Type, Enum, Numeric En
Numeric Literal Type is defined as: fixed set of specific values for number as Type. Topics on: All numbers (except bigint) are of FP64 integers. Read more: JS,
Object Literal Type is defined as: Type Annotation for Object Literal, use for inline anon Object pass as Argument. Topics on: Anonymous Interface, Anonymous Ty
Object Optional Property is defined as: ?: Type Annotation to mark optional object property. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Typed
Overload Signature is defined as: Function Signature with Type annotations but w/o implementation. Topics on: Overload Signature common in API type definition f
Parameter is defined as: Variable pass into function to define Function Signature, imports Arguments & act as local variable. Topics on: !differs vs Argument wh
Parameter Default Value is defined as: JS Syntax used to specify default Value for a Parameter if not provided. Topics on: . Read more: JS, TS, TS Syntax, Type
parcel-bundler is defined as: CLI Dev tool to run TS in Browser. Topics on: install parcel-bundler tool for TS, Parcel can auto-detect .ts files inside index.ht
prisma is defined as: ORM with Node.js + TS to data model, with UI to view/mod db. Topics on: prisma studio. Read more: Computer Science, Data Structure, Datab
private is defined as: JS Keyword & Property Modifier to restrict Method to within class only. Topics on: why use private modifier?. Read more: JS, TS, TS Synta
Private Constructor is defined as: Constructor Function prepend with private to restrict access to within class, prevent Instantiation with new. Topics on: . Re
Problem Matcher is defined as: to auto-scan output text for known warnings/error & report inline (as squiggle?). ie TS ESLint. Topics on: TypeScript + Webpack P
Property Modifier is defined as: TS Syntax to specify property's Type, if optional? & if writable?. Topics on: readonly, Typed Optional Parameter. Read more: JS
props literal. Topics on: TS does not know this is a React Component - default properties will not register. Read more: JS, TS, TS Syntax, TS With React, TS Rea
protected is defined as: Property Modifier to restrict Method to class or child classes. Topics on: child classes can not overwrite (non-public) modifiers in pa
public is defined as: (default) Property Modifier for Methods, callable anywhere. Topics on: can be used to shorten assignment:Can be shortened to. Read more: J
React.FC is defined as: const MyApp: React.FC<ChildProps> = ({ color }) ⇒ {. Topics on: TS will know this is a React Functional Component - default properties w
readonly is defined as: Property Modifier JS Keyword to set Object property as read-only. Topics on: !snippet interface with readonly prop. Read more: JS, TS, T
Record is defined as: Object with fixed number of known named properties & any Type before Compile Time. Topics on: !snippet Object-as-Record. Read more: JS, TS
Replaces JSDoc for documenting TS. Topics on: JSDoc tags, !proposal - not standard but used in .d.ts files for React. Read more: JS, TS, TS Stack, TS Doc | Wiki
ReturnType. Topics on: ReturnType<type of *>. Read more: JS, TS, TS Syntax, TS Operators|FullStack Wiki by Roger J
run TSC in Watch Mode for app.ts is defined as: tsc app.ts -w. Topics on: Watch Mode. Read more: JS, TS, TS Def, TSC, TSC Commands|FullStack Wiki by Roger J
set is defined as: (maths concept) collection of distinct things. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Set|FullStack Wiki by Roger J
Singleton is defined as: TS Syntax Pattern to ensure exactly only one object instance of a class, using Private Constructor & Static Method. Topics on: . Read m
Static Level is defined as: TS statically check Language Level of static types, manage by TS at Compile Time. Topics on: Types exist on Static Level, Generic T
Static Type is defined as: Type def at Compile Time. Topics on: . Read more: JS, TS, TS Def, Static Type System, Static Type, Type, Compile Time| FullStack Wiki
Static Type System is defined as: system to Type-Check Type of Variable (known & expected) at Compile Time. Topics on: statically check, Static Type, Use wallab
statically check is defined as: (process) to check Source Code w/o run. Topics on: . Read more: JS, TS, TS Def, Static Type System, Statically Check, Source Cod
String Enum is defined as: enum with string as member values. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Enum, String|FullStack Wiki by Roger J
String Literal Type is defined as: fixed set of specific values for string as types. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Type, Set, String
Superset is defined as: extension to set (language extends base Programming Language). Topics on: !analogy: if JS was CSS, then TS would be SCSS, previews next-
Top Type is defined as: universal (super-) Type assignable to any Variable. Topics on: any & unknown are Top Types, !contrast bottom type, any used for output o
TS is defined as: Superset of JS + Static Type System layer. Topics on: TS Def, TS Syntax, TS Stack, TS Errors. Read more: JS, TS, Superset, Static Type System
TS Core setup. Topics on: globally install typescript & its REPL tool. Read more: JS, TS, TS Stack|FullStack Wiki by Roger J
TS Def is defined as: Definitions on what is a type, set, etc. How static type compiler config & works.. Topics on: Superset, Static Type System, use TS for bet
TS Errors. Topics on: !add, !cannot create empty .tsx files, !cannot create JSX w/o explicit children, !forgot to add store to Provider, !must TS annotate catch
TS Errors. Topics on: Property 'forEach' does not exist on type 'IterableIterator<RegExpMatchArray>'.ts(2339), Type 'RegExpMatchArray | null' must have a 'Symbo
TS Keyword. Topics on: . Read more: JS, TS, TS Syntax|FullStack Wiki by Roger J
TS Operators. Topics on: ReturnType. Read more: JS, TS, TS Syntax, TS Operators|FullStack Wiki by Roger J
TS Playground is defined as: online editor for TS, full feature IDE. Topics on: TS Playground can save & share TSC config & TS code snippets. Read more: JS, TS,
TS React Syntax. Topics on: fix the following errorconst [names, setNames] = useState<string[]>([]) setNames([...names, 'bob']), React.FC, props literal, Refact
TS Redux. Topics on: Create TS Redux File Structure, switch acts as type guard, define interface per action, removes need for action types, add enum for action
TS Stack is defined as: list some notable TS-specific libs here. But since TS becomes more mainstream, synonymous to 'JS stack'.. Topics on: TS Core setup, TSDo
TS Syntax is defined as: List of typescript keywords, syntax, coding patterns, etc. Topics on: Type, Generics, TS Keyword, Decorator, namespace, Modules & TS, T
TS with React. Topics on: Def interface for props, add types to state in component, add types to event handlers, add useRef() with types, TS React Syntax, Creat
ts-node is defined as: CLI tool for TS & REPL for Node.js. Topics on: JIT transforms TS to JS, for direct execution on Node.js, cmd: npx ts-node to run ts-node
TSC is defined as: CLI Dev tool to Type-Check/Compiler TS to JS. Topics on: uses static code analysis to reduce Runtime Error, TS Compiler will throw errors or
tsc --strict is defined as: to flag TSC auto-set max strictness settings, apply true to: --noImplicitAny, --noImplicitThis, --alwaysStrict, --strictNullChecks,
TSC CMD flag settings. Topics on: tsc --strict. Read more: JS, TS, TS Def, TSC, TSC Strictness Config, TSC CMD Flag Settings|FullStack Wiki by Roger J
TSC commands. Topics on: run TSC in Watch Mode for app.ts, tsc --init, tsc -w (run in project root dir), Initialize project folder to run with TS, tsconfig.jso
TSC Directive is defined as: comment statement as Directive to control TSC behavior on line/file basis. Topics on: // @ts-ignore, // @ts-nocheck, // @ts-check,
TSC Strictness Config. Topics on: default TypeScript types are optional/opt-in, default TypeScript does not check for potential null/undefined val, toggle on al
tsconfig.json is defined as: TS Manifest to config TSC behavior. Topics on: 'extends', 'compilerOptions', 'exclude': ['_FILE_PATHS', '_OR_ENTIRE_FOLDERS_'], 'fi
TSDoc is defined as: Markup Lang extends JSDoc for TS inline comment docs. Topics on: built upon familiar JSDoc JS Syntax to preserve legacy documentation, Repl
TSDoc tag is defined as: @_TYPE_NAME to annotate code. Topics on: @internal, @link, @see, @typeParam. Read more: JS, TS, TS Stack, TS Doc, TS Doc Tag | Dev Wiki
Tuple is defined as: Array with fixed length & fixed element Type. Topics on: Tuple Type used to distinguish from Array Literal which TSC infers as List, Tuple
Type is defined as: shape & behaviour of data to rep set of values. Topics on: Base Type, Compound Type, Type Assignment, Type Annotation, Type Expression. Read
Type Annotation is defined as: TS Syntax to annotate Variables with Types. Topics on: Angle Bracket Notation, Type Annotation provide Syntactic Sugar for checki
Type Assertion is defined as: TS Syntax to override TSC's Type Inference for Static Type of specific Value. Topics on: Type Assertion removes Static Type safety
Type Cast is defined as: aka type conversion of one type to another, in C/C++ - equiv to (implicit) type coersion or (explicit) reassignment in JS. Topics on: .
Type Expression is defined as: TS Syntax evalue to Type, after : || inside Angle Bracket Notation. Topics on: Type Expression can use default JavaScript dynam
Type Guard is defined as: Runtime Type-Check to Narrow Type of Variable. Topics on: Type Guard used when Type too general, requires Narrow, typeof & instanceof
Type Inference is defined as: (feature) TSC to auto-derive implicit Type for Variable (w/o explicit Type Annotation). Topics on: Type Inference applies when De
Type Operator is defined as: TS Syntax for built-in operation on Types. Topics on: typeof, keyof, Set Operator Intersection, as. Read more: JS, TS, TS Syntax, T
Type Variable is defined as: One or more Type Variable introduced via Angle Bracket Notation. Topics on: . Read more: JS, TS, TS Syntax, Generics, Angle Bracket
Type-Check is defined as: (process) to check Variable assigned expected Types (usually done statically during Compile Time). Topics on: helps avoid unexpected R
Typed Callback Function is defined as: Type Annotation for Anon Function pass as Argument to function. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Typ
Typed Classes. Topics on: Singleton, Private Constructor, TS annotate the following class let car: Car = new Car(). Read more: JS, TS, TS Syntax, Type, Base Typ
Typed Classes. Topics on: Classes exist as both a value and a type, create instance of an object, refer to the object type, custom classes can restrict access t
Typed Object is defined as: Type to ref any non-Primitive; as Record or Dictionary. Topics on: Index Signature, Generic Object Types, TS annotate the following
Typed Rest Parameter is defined as: TS Syntax for Rest Parameter which must always be of Type Array. Topics on: !snippet Typed Rest Parameter. Read more: JS, TS
Union Type is defined as: Compound Type join by | Type Operator to define each member of Type set can EITHER be. Topics on: Discriminated Union. Read more: JS
unknown is defined as: Top Type to rep any value but also make it illegal to use (w/o Narrow). Topics on: //@ts-expect-error: Object is of Type 'unknown', unkno
use ': never' for functions that is defined as: should never complete execution. Topics on: rare use case - only for functions that always never complete execut
use function type annotations to. Topics on: def type of arguments params, def type of values returned. Read more: JS, TS, TS Syntax, Type, Base Type, Function
use TS for better OOP. Topics on: use TS to better Encapsulation code into classes, interfaces & modules, use TS to extend visibility layer of class properties
useActions() is defined as: Custom Hook to bind actionCreators to Dispatch. Topics on: !refactors code by auto calling dispatch on actionCreators, no need to ty
useTypedSelector() is defined as: Custom Hook var of useSelector() with fixed type annotations. Topics on: . Read more: JS, TS, TS Syntax, TS With React, Add Us
Variadic Tuple is defined as: Tuple Type Annotation using Spread Operator or Rest Parameter, to define varying number of element types. Topics on: . Read more:
Vite is defined as: Dev tool to scaffold & build framework UI, next-gen ESBuild Bundler 100X Webpack perf, support native Module, native TS. Topics on: SWC, Vit
void is defined as: Type to rep no return value from function. Topics on: !technically default JS implicitly returns undefined, !techincally not allowed to anno
Watch Mode is defined as: TSC mode to continuously monitor & recompile upon Source Code change (save). Topics on: . Read more: JS, TS, TS Def, TSC, TSC Commands