Skip to content

Commit c23a60a

Browse files
authored
Add support for TypeScript with 'none' for module config (#137)
1 parent a5dc669 commit c23a60a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/flatten.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Filter } from ".";
1+
import { Filter } from "./index";
22

33
export const valfilter = (f: Filter, path?: string): Filter => {
44
if (path && "attrPath" in f) {

src/parser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Filter, Compare, NotFilter, Suffix, ValuePath } from ".";
1+
import { Filter, Compare, NotFilter, Suffix, ValuePath } from "./index";
22

33
type TokenType = "Number" | "Quoted" | "Bracket" | "Word" | "EOT";
44
const EOT = { type: "EOT" as TokenType, literal: "" };

src/stringify.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Filter } from ".";
1+
import { Filter } from "./index";
22

33
export function stringify(f: Filter, wrapOr = false): string {
44
let returnValue = '';

src/tester.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Filter, Compare } from ".";
1+
import { Filter, Compare } from "./index";
22

33
type CompValue = Compare["compValue"];
44

0 commit comments

Comments
 (0)