Skip to content

Commit

Permalink
Adding more exports from root
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRayCode committed Aug 10, 2024
1 parent dccca4e commit 35fdd69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=16"
},
"version": "5.1.0",
"version": "5.1.1",
"type": "module",
"description": "A GLSL ES 1.0 and 3.0 parser and preprocessor that can preserve whitespace and comments",
"scripts": {
Expand Down
12 changes: 11 additions & 1 deletion src/parser/parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@ export type ParserOptions = Partial<{
// Allow to fetch util functions from parser directly. I'd like to inline those
// functions directly in this file, but then the tests can't find it since jest
// can't import from .d.ts files as there's no accompanying ts/js file
export { renameBindings, renameFunctions } from './utils';
export {
renameBinding,
renameBindings,
renameType,
renameTypes,
renameFunction,
renameFunctions,
debugEntry,
debugFunctionEntry,
debugScopes,
} from './utils';

export type Parse = {
(input: string, options?: ParserOptions): Program;
Expand Down

0 comments on commit 35fdd69

Please sign in to comment.