Skip to content

Commit 15485d7

Browse files
committed
chore: make snippet function arguments not optional
1 parent ba502b3 commit 15485d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/snippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const defaultCode = `terraform {
1919
}
2020
}`;
2121

22-
export type SnippetFunc = (name?: string, order?: number) => string;
22+
export type SnippetFunc = (name: string, order: number) => string;
2323
type Snippet = {
2424
name: string;
2525
label: string;

0 commit comments

Comments
 (0)