Skip to content

Commit 6329fad

Browse files
committed
Clarify usage of export *
1 parent 51ca9ed commit 6329fad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
export { supportedDialects, format, formatDialect } from './sqlFormatter.js';
22
export { expandPhrases } from './expandPhrases.js';
3+
4+
// Intentionally use "export *" syntax here to make sure when adding a new SQL dialect
5+
// we wouldn't forget to expose it in our public API.
36
export * from './allDialects.js';
47

58
// NB! To re-export types the "export type" syntax is required by webpack.

0 commit comments

Comments
 (0)