-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(harper.js): properly export types from
harper-wasm
- Loading branch information
1 parent
b5c2dc6
commit aad7519
Showing
7 changed files
with
76 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
import type { Lint, Span, Suggestion } from 'wasm'; | ||
import { SuggestionKind } from 'wasm'; | ||
import Linter from './Linter'; | ||
import LocalLinter from './LocalLinter'; | ||
import WorkerLinter from './WorkerLinter'; | ||
|
||
export { LocalLinter, WorkerLinter }; | ||
export { LocalLinter, WorkerLinter, SuggestionKind }; | ||
export type { Linter, Lint, Span, Suggestion }; | ||
|
||
export enum SuggestionKind { | ||
Replace = 0, | ||
Remove = 1, | ||
InsertAfter = 2 | ||
} | ||
|
||
export type LintConfig = Record<string, boolean | undefined>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters