File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 31
31
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
32
32
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
33
33
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
34
- // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
34
+ "typeRoots" : [
35
+ " ./types"
36
+ ] /* Specify multiple folders that act like './node_modules/@types'. */ ,
35
37
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
36
38
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
37
39
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
Original file line number Diff line number Diff line change
1
+ import "node:test" ;
2
+
3
+ declare module "node:test" {
4
+ interface TestContext {
5
+ readonly assert : {
6
+ equal ( actual : unknown , expected : unknown , message ?: string | Error ) : void ;
7
+ strictEqual (
8
+ actual : unknown ,
9
+ expected : unknown ,
10
+ message ?: string | Error ,
11
+ ) : void ;
12
+ deepStrictEqual (
13
+ actual : unknown ,
14
+ expected : unknown ,
15
+ message ?: string | Error ,
16
+ ) : void ;
17
+ snapshot ( v : unknown ) : void ;
18
+ } ;
19
+ }
20
+ }
You can’t perform that action at this time.
0 commit comments