Update .yarn/sdks
This commit is contained in:
parent
38412e5b48
commit
72fba5fc76
3 changed files with 9 additions and 5 deletions
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
|
@ -6,6 +6,6 @@
|
|||
"Vue.volar",
|
||||
"Vue.vscode-typescript-vue-plugin",
|
||||
"arcanis.vscode-zipfs",
|
||||
"Orta.vscode-twoslash-queries"
|
||||
"Orta.vscode-twoslash-queries"
|
||||
]
|
||||
}
|
||||
|
|
6
.yarn/sdks/typescript/lib/typescript.js
vendored
6
.yarn/sdks/typescript/lib/typescript.js
vendored
|
@ -11,10 +11,10 @@ const absRequire = createRequire(absPnpApiPath);
|
|||
|
||||
if (existsSync(absPnpApiPath)) {
|
||||
if (!process.versions.pnp) {
|
||||
// Setup the environment to be able to require typescript/lib/typescript.js
|
||||
// Setup the environment to be able to require typescript
|
||||
require(absPnpApiPath).setup();
|
||||
}
|
||||
}
|
||||
|
||||
// Defer to the real typescript/lib/typescript.js your application uses
|
||||
module.exports = absRequire(`typescript/lib/typescript.js`);
|
||||
// Defer to the real typescript your application uses
|
||||
module.exports = absRequire(`typescript`);
|
||||
|
|
6
.yarn/sdks/typescript/package.json
vendored
6
.yarn/sdks/typescript/package.json
vendored
|
@ -2,5 +2,9 @@
|
|||
"name": "typescript",
|
||||
"version": "5.1.6-sdk",
|
||||
"main": "./lib/typescript.js",
|
||||
"type": "commonjs"
|
||||
"type": "commonjs",
|
||||
"bin": {
|
||||
"tsc": "./bin/tsc",
|
||||
"tsserver": "./bin/tsserver"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue