Update .yarn/sdks

This commit is contained in:
Aylam 2023-10-24 19:00:17 +03:00 committed by Laura Hausmann
parent 38412e5b48
commit 72fba5fc76
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
3 changed files with 9 additions and 5 deletions

View File

@ -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`);

View File

@ -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"
}
}