Commit 0dc6d7a 1 parent 7a66d78 commit 0dc6d7a Copy full SHA for 0dc6d7a
File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ export type { default as StaticImport } from './import-static'
8
8
export type { default as Statement } from './statement'
9
9
export type { default as ExportStatement } from './statement-export'
10
10
export type { default as ImportStatement } from './statement-import'
11
+ export type { default as RequireStatement } from './statement-require'
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @file Interfaces - RequireStatement
3
+ * @module mlly/interfaces/RequireStatement
4
+ */
5
+
6
+ import type Statement from './statement'
7
+
8
+ /**
9
+ * Require statement object schema.
10
+ *
11
+ * @see {@link Statement }
12
+ *
13
+ * @extends {Statement }
14
+ */
15
+ interface RequireStatement extends Statement {
16
+ /**
17
+ * Import names.
18
+ */
19
+ imports : string [ ]
20
+
21
+ /**
22
+ * Module specifier.
23
+ */
24
+ specifier : NonNullable < Statement [ 'specifier' ] >
25
+
26
+ /**
27
+ * Import statement type.
28
+ */
29
+ type : 'require'
30
+ }
31
+
32
+ export type { RequireStatement as default }
You can’t perform that action at this time.
0 commit comments