Implementation of Default Core Library for TypeScript Compiler
- fetch / Headers / Response — built-in HTTP client
Globals (src/lib.ts):
parseInt,parseFloat,isNaN,isFiniteBooleanNumberBigIntDateRegExp,MatchResults,MatchIndicesResultsString(plus thestringprototype methods it wraps:at,charAt,charCodeAt,codePointAt,concat,endsWith,includes,indexOf,lastIndexOf,localeCompare,match,matchAll,normalize,padEnd,padStart,repeat,replace,replaceAll,search,slice,split,startsWith,substring,toLocaleLowerCase,toLocaleUpperCase,toLowerCase,toUpperCase,toWellFormed,trim,trimStart,trimEnd)Math(static)ArrayBufferHeaders,Response,fetch— see docs/fetch.mdconsole(static):log,warn,error,assert
Generics (src/generics/lib.generics.ts):
Array<T>,TypedArray<T>(and the typed-array aliases:Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,BigInt64Array,BigUint64Array,Float32Array,Float64Array)Map<K, V>Set<V>
Errors (src/core/core.d.ts):
ErrorRangeError
Not yet implemented: Promise, JSON.parse/JSON.stringify, Symbol (beyond the
well-known symbols used internally), WeakMap/WeakSet.