mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc/tools: fix more type inconsistencies
- fix a number of uppercase types - lowercase 'integer' - consistent formatting in crypto PR-URL: https://github.com/nodejs/node/pull/11697 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
20 files changed
+410
-409
No files matched your search
@@ -4,12 +4,13 @@ const jsDocPrefix = 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/';
|
||||
const jsDocUrl = jsDocPrefix + 'Reference/Global_Objects/';
|
||||
const jsPrimitiveUrl = jsDocPrefix + 'Data_structures';
|
||||
const jsPrimitives = {
|
||||
'integer': 'Number', // this is for extending
|
||||
'boolean': 'Boolean',
|
||||
'integer': 'Number', // not a primitive, used for clarification
|
||||
'null': 'Null',
|
||||
'number': 'Number',
|
||||
'string': 'String',
|
||||
'boolean': 'Boolean',
|
||||
'null': 'Null',
|
||||
'symbol': 'Symbol'
|
||||
'symbol': 'Symbol',
|
||||
'undefined': 'Undefined'
|
||||
};
|
||||
const jsGlobalTypes = [
|
||||
'Error', 'Object', 'Function', 'Array', 'TypedArray', 'Uint8Array',
|
||||
|
||||
Reference in new issue
Block a user