Skip to content

Commit ef5b7aa

Browse files
committed
fix(types): add eslint directive to suppress empty object type warning in ProcessEnv interface
1 parent 2169017 commit ef5b7aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

modules.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ declare global {
1818
}
1919

2020
namespace NodeJS {
21+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
2122
export interface ProcessEnv extends Config {}
2223
}
2324
}

packages/create-tbk-app/templates/base/modules.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ declare global {
1818
}
1919

2020
namespace NodeJS {
21+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
2122
export interface ProcessEnv extends Config {}
2223
}
2324
}

0 commit comments

Comments
 (0)