mirror of https://github.com/abpframework/abp.git
2 changed files with 16 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||
|
import { eImportKeyword } from '../enums'; |
||||
|
import { Omissible } from './util'; |
||||
|
|
||||
|
export class Import { |
||||
|
alias?: string; |
||||
|
keyword = eImportKeyword.Default; |
||||
|
path: string; |
||||
|
specifiers: string[] = []; |
||||
|
|
||||
|
constructor(options: ImportOptions) { |
||||
|
Object.assign(this, options); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
export type ImportOptions = Omissible<Import, 'keyword' | 'specifiers'>; |
||||
@ -1,3 +1,4 @@ |
|||||
export * from './api-definition'; |
export * from './api-definition'; |
||||
|
export * from './import'; |
||||
export * from './project'; |
export * from './project'; |
||||
export * from './util'; |
export * from './util'; |
||||
|
|||||
Loading…
Reference in new issue