Skip to content

Commit

Permalink
feat(dot): enable TS strict compiler flags (refactor)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 4, 2019
1 parent 5a7d90b commit 29e0cb4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/dot/src/serialize.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import { IObjectOf } from "@thi.ng/api";
import { isArray } from "@thi.ng/checks";
import { Edge, Graph, GraphAttribs, Node } from "./api";
import {
Edge,
Graph,
GraphAttribs,
Node
} from "./api";

const wrapQ = (x) => `"${x}"`;
const wrapQ = (x: any) => `"${x}"`;

const escape = (x: any) =>
String(x)
Expand Down

0 comments on commit 29e0cb4

Please sign in to comment.