Skip to content

Commit b799af4

Browse files
Merge pull request #55 from ShaderFrog/preprocessor-types
Correcting raw preprocessor parser typescript types
2 parents ffa42d3 + cdeab41 commit b799af4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"engines": {
44
"node": ">=16"
55
},
6-
"version": "6.0.1",
6+
"version": "6.0.2",
77
"type": "module",
88
"description": "A GLSL ES 1.0 and 3.0 parser and preprocessor that can preserve whitespace and comments",
99
"scripts": {
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import type { PreprocessorProgram } from './preprocessor';
1+
import type { PreprocessorProgram, PreprocessorOptions } from './preprocessor';
22
import { SyntaxError } from '../error.ts';
33

4-
export type ParserOptions = {};
5-
64
export function parse(
75
input: string,
8-
options?: ParserOptions
6+
options?: PreprocessorOptions
97
): PreprocessorProgram;
108

119
export const SyntaxError: typeof SyntaxError;

0 commit comments

Comments
 (0)