Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add types to prettier #591

Merged
merged 2 commits into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
bartlomieju marked this conversation as resolved.
Show resolved Hide resolved
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