Skip to content

Commit 79c3cd3

Browse files
committed
Fix missing types
1 parent 47ee34f commit 79c3cd3

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

registry/lib/constants/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import DOT_GIT_DIR from './dot-git-dir'
1313
import DOT_PACKAGE_LOCK_JSON from './dot-package-lock-json'
1414
import DOT_SOCKET_DIR from './dot-socket-dir'
1515
import EMPTY_FILE from './empty-file'
16+
import EMPTY_VALUE from './empty-value'
1617
import EnvObject from './env'
1718
import ESLINT_CONFIG_JS from './eslint-config-js'
1819
import ESNEXT from './esnext'
@@ -144,6 +145,7 @@ declare const Constants: {
144145
readonly DOT_PACKAGE_LOCK_JSON: typeof DOT_PACKAGE_LOCK_JSON
145146
readonly DOT_SOCKET_DIR: typeof DOT_SOCKET_DIR
146147
readonly EMPTY_FILE: typeof EMPTY_FILE
148+
readonly EMPTY_VALUE: typeof EMPTY_VALUE
147149
readonly ENV: typeof EnvObject
148150
readonly ESLINT_CONFIG_JS: typeof ESLINT_CONFIG_JS
149151
readonly ESNEXT: typeof ESNEXT
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
declare const pnpmExecPath: string | null
1+
declare const pnpmExecPath: string
22
export = pnpmExecPath
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare const yarnExecPath: string
2+
export = yarnExecPath

registry/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@
597597
"default": "./lib/constants/yarn-classic.js"
598598
},
599599
"./lib/constants/yarn-exec-path": {
600+
"types": "./lib/constants/yarn-exec-path.d.ts",
600601
"default": "./lib/constants/yarn-exec-path.js"
601602
},
602603
"./lib/constants/yarn-lock": {

0 commit comments

Comments
 (0)