Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions tools/doc/type-parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ const jsDocPrefix = `${mdnPrefix}/JavaScript/`;

const jsDataStructuresUrl = `${jsDocPrefix}Data_structures`;
const jsPrimitives = {
boolean: 'Boolean',
integer: 'Number', // Not a primitive, used for clarification.
null: 'Null',
number: 'Number',
string: 'String',
symbol: 'Symbol',
undefined: 'Undefined',
boolean: 'boolean',
integer: 'number', // Not a primitive, used for clarification.
null: 'null',
number: 'number',
string: 'string',
symbol: 'symbol',
undefined: 'undefined',
bigint: 'bigint',
};

const jsGlobalObjectsUrl = `${jsDocPrefix}Reference/Global_Objects/`;
Expand Down Expand Up @@ -43,7 +44,6 @@ const customTypesMap = {

'AsyncGeneratorFunction': 'https://tc39.es/proposal-async-iteration/#sec-asyncgeneratorfunction-constructor',

'bigint': `${jsDocPrefix}Reference/Global_Objects/BigInt`,
'WebAssembly.Instance':
`${jsDocPrefix}Reference/Global_Objects/WebAssembly/Instance`,
'WebAssembly.Memory':
Expand Down
Loading