Skip to content

Commit 7b0788d

Browse files
committed
✨ export types used so dependent packages can cast to them
1 parent f54e173 commit 7b0788d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import path from 'path';
66
import { promisify } from 'util';
77
import { limitOpenFiles } from './utils';
88

9-
type DataValue = string | number | Data | (() => string | number | Data);
9+
export type DataValue = string | number | Data | (() => string | number | Data);
1010

11-
interface Data
11+
export interface Data
1212
extends Record<string | number | symbol, DataValue | DataValue[]> {}
1313

1414
export async function renderGlob(

0 commit comments

Comments
 (0)