2019-01-26 23:19:56 -05:00
|
|
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
2019-09-10 17:41:23 -04:00
|
|
|
/**
|
|
|
|
* 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"
|
2019-02-01 10:16:39 -05:00
|
|
|
import "./vendor/standalone.js";
|
2019-09-10 17:41:23 -04:00
|
|
|
// @deno-types="./vendor/parser_typescript.d.ts"
|
2019-02-01 10:16:39 -05:00
|
|
|
import "./vendor/parser_typescript.js";
|
2019-09-10 17:41:23 -04:00
|
|
|
// @deno-types="./vendor/parser_babylon.d.ts"
|
2019-02-01 10:16:39 -05:00
|
|
|
import "./vendor/parser_babylon.js";
|
2019-09-10 17:41:23 -04:00
|
|
|
// @deno-types="./vendor/parser_markdown.d.ts"
|
2019-02-01 10:16:39 -05:00
|
|
|
import "./vendor/parser_markdown.js";
|
2019-01-26 23:19:56 -05:00
|
|
|
|
|
|
|
// TODO: provide decent type declarions for these
|
2019-03-04 19:53:35 -05:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2019-01-26 23:19:56 -05:00
|
|
|
const { prettier, prettierPlugins } = window as any;
|
|
|
|
|
|
|
|
export { prettier, prettierPlugins };
|