Add module: node16
to tsconfig.json
Closes GH-17. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
This commit is contained in:
parent
108af2192b
commit
b8a6ad478d
5 changed files with 8 additions and 11 deletions
|
@ -1,8 +1,8 @@
|
||||||
/**
|
/**
|
||||||
* @typedef {import('micromark-util-types').Construct} Construct
|
* @typedef {import('micromark-util-types').Construct} Construct
|
||||||
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
|
|
||||||
* @typedef {import('micromark-util-types').State} State
|
* @typedef {import('micromark-util-types').State} State
|
||||||
* @typedef {import('micromark-util-types').Token} Token
|
* @typedef {import('micromark-util-types').Token} Token
|
||||||
|
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
|
||||||
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
|
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/**
|
/**
|
||||||
* @typedef {import('micromark-util-types').Construct} Construct
|
* @typedef {import('micromark-util-types').Construct} Construct
|
||||||
|
* @typedef {import('micromark-util-types').State} State
|
||||||
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
|
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
|
||||||
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
|
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
|
||||||
* @typedef {import('micromark-util-types').State} State
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {ok as assert} from 'uvu/assert'
|
import {ok as assert} from 'uvu/assert'
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/**
|
/**
|
||||||
* @typedef {import('micromark-util-types').Construct} Construct
|
* @typedef {import('micromark-util-types').Construct} Construct
|
||||||
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
|
|
||||||
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
|
|
||||||
* @typedef {import('micromark-util-types').Previous} Previous
|
* @typedef {import('micromark-util-types').Previous} Previous
|
||||||
* @typedef {import('micromark-util-types').State} State
|
* @typedef {import('micromark-util-types').State} State
|
||||||
|
* @typedef {import('micromark-util-types').Tokenizer} Tokenizer
|
||||||
|
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {ok as assert} from 'uvu/assert'
|
import {ok as assert} from 'uvu/assert'
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
"index.js"
|
"index.js"
|
||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
"development": "./dev/index.js",
|
"development": "./dev/index.js",
|
||||||
"default": "./index.js"
|
"default": "./index.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
{
|
{
|
||||||
"include": ["dev/**/*.js", "test/**/*.js"],
|
"include": ["dev/**/*.js", "test/**/*.js"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2020",
|
"target": "ES2022",
|
||||||
"lib": ["ES2020"],
|
"lib": ["ES2022"],
|
||||||
"module": "ES2020",
|
"module": "Node16",
|
||||||
"moduleResolution": "node",
|
|
||||||
"allowJs": true,
|
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"strict": true
|
"strict": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue