Skip to content

Commit

Permalink
Fix incorrect generic type parameter (#135)
Browse files Browse the repository at this point in the history
The introduction of the `Document` type [in this PR](postcss/postcss#1498) incorrectly advertises that `parse` can return a `Document` object.
  • Loading branch information
dmisdm committed Jan 10, 2022
1 parent 47ff0c5 commit 3986614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scss-syntax.d.ts
@@ -1,4 +1,4 @@
import * as postcss from 'postcss';

export const parse: postcss.Parser;
export const parse: postcss.Parser<postcss.Root>;
export const stringify: postcss.Stringifier;

0 comments on commit 3986614

Please sign in to comment.