Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: dist/dart-style.d.ts

Issue 1640023002: Support deploying an npm package exporting a formatCode method. (Closed) Base URL: git@github.com:dart-lang/dart_style.git@master
Patch Set: ptal Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.lock » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dist/dart-style.d.ts
diff --git a/dist/dart-style.d.ts b/dist/dart-style.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..59d4dafbd86a856fbd71b1db9cffbdf0986e685e
--- /dev/null
+++ b/dist/dart-style.d.ts
@@ -0,0 +1,14 @@
+// Type definitions for dart-style
+
+declare module style {
+ interface FormatResult {
+ code?: string;
+ error?: string;
+ }
+
+ export function formatCode(code: string): FormatResult;
+}
+
+declare module "dart-style" {
+ export = style;
+}
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.lock » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698