Skip to content

Commit 9806533

Browse files
committed
Fix types
1 parent 7ea85f0 commit 9806533

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const OPTIONS_SCHEMA: JSONSchema7 = {
3232
interface Options {
3333
layers: Layer[];
3434
nonce?: string;
35-
injectOrderAs?: "link" | "style";
35+
injectOrderAs?: "link" | "style" | "none";
3636
publicPath?: string;
3737
}
3838

src/loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const OPTIONS_SCHEMA: JSONSchema7 = {
3535

3636
export type Layer = {
3737
path: string;
38-
exclude: string;
38+
exclude?: string;
3939
name: string;
4040
};
4141

0 commit comments

Comments
 (0)