Skip to content

Commit

Permalink
feat: Add types to prettier (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored and ry committed Sep 10, 2019
1 parent 0e6f163 commit 73fe36f
Show file tree
Hide file tree
Showing 6 changed files with 540 additions and 0 deletions.
8 changes: 8 additions & 0 deletions prettier/prettier.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
/**
* Types are given here because parser files are big
* and it's much faster to give TS compiler just type declarations.
*/
// @deno-types="./vendor/standalone.d.ts"
import "./vendor/standalone.js";
// @deno-types="./vendor/parser_typescript.d.ts"
import "./vendor/parser_typescript.js";
// @deno-types="./vendor/parser_babylon.d.ts"
import "./vendor/parser_babylon.js";
// @deno-types="./vendor/parser_markdown.d.ts"
import "./vendor/parser_markdown.js";

// TODO: provide decent type declarions for these
Expand Down
Loading

0 comments on commit 73fe36f

Please sign in to comment.