Skip to content

Commit f27ea8a

Browse files
committed
fix: make property optional in service options
1 parent 97ce8ab commit f27ea8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ export interface DelayLoadServiceStartOptions extends Omit<ServiceStartOptions,
144144
// Handled by service.configure
145145
export interface ServiceOptions {
146146
// Used to resolve code paths flexibly during dev/prod
147-
codepath: string;
147+
codepath?: string;
148148
// Will be either .ts or .js depending on the runtime environment
149-
codeExtension: string;
149+
codeExtension?: string;
150150

151151
// If you need multiple configuration directories, pass them here
152152
// in the desired order (later trumps earlier)

0 commit comments

Comments
 (0)