Skip to content

Commit e45fbc7

Browse files
committed
fix: 🐛 move globals to normal ts to include missing in dist
1 parent 25ae7cb commit e45fbc7

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/csp.types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
export const schemeSource = ['http:', 'https:', 'data:', 'mediastream:', 'blob:', 'filesystem:'] as const;
77
type SchemeSource = typeof schemeSource[number];
88

9+
type OptionalPath = `${HttpDelineators}${string}` | ''
10+
type UrlString = `${HostSource}${OptionalPath}`;
11+
912
// Hosts Source Definition
1013
type HostProtocolSchemes = `${string}://` | ''
1114
type PortScheme = `:${number}` | '' | ':*'

src/globals.d.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)