Skip to content

Commit

Permalink
build(ts)!: use export type *
Browse files Browse the repository at this point in the history
- https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-rc/#support-for-export-type

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Aug 9, 2023
1 parent faabeb2 commit 556b536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config: Config = defineBuildConfig({
charset: 'utf8',
entries: [
{ dts: 'only' },
{ dts: false, pattern: ['(interfaces|types)/index.ts', 'enums/*'] },
{ dts: false, pattern: ['enums/*'] },
{
dts: false,
pattern: ['!utils/*.options.ts', 'index.ts', 'utils/*'],
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*/

export * from './enums'
export * from './interfaces'
export * from './types'
export type * from './interfaces'
export type * from './types'
export * from './utils'

0 comments on commit 556b536

Please sign in to comment.