Skip to content

Commit e9d79ad

Browse files
committed
Add bootstrap global to global.d.ts
This improves the type check for Bootstrap components. Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
1 parent eac3614 commit e9d79ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

resources/js/global.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ interface Window {
1010
msCrypto: any;
1111
u2f: any;
1212
variableNames: string[];
13+
bootstrap: typeof bootstrap;
1314

1415
sprintf(format: string, ...values: (string|number)[]): string;
1516
}

0 commit comments

Comments
 (0)