Skip to content

Commit 8c34c7b

Browse files
committed
Simplify types
1 parent 0e94200 commit 8c34c7b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Test documentation
1717
run: |
1818
npm install [email protected]
19-
npx typedoc src/index.ts --excludePrivate --excludeExternals --treatValidationWarningsAsErrors
19+
npx typedoc src/index.ts --excludePrivate --treatValidationWarningsAsErrors

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ window.inMemoryDatabase = new InMemoryDatabase();
77
window.bracketsManager = new BracketsManager(window.inMemoryDatabase);
88

99
export { BracketsViewer };
10-
export { ToI18nKey, TFunction } from './lang';
1110
export * from './types';

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { BracketsViewer } from './main';
55
import { BracketsManager } from 'brackets-manager';
66
import { ToI18nKey, TFunction } from './lang';
77

8+
export type { ToI18nKey, TFunction };
9+
810
declare global {
911
interface Window {
1012
bracketsViewer: BracketsViewer,

0 commit comments

Comments
 (0)