mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
This provides type checking and code completion for lit-html within tsserver. Fixed: 375149136 Change-Id: I9c7a97d14b901ea4cb0c98751d852f0b884230c6 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5953718 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Danil Somsikov <dsv@chromium.org>
6 lines
215 B
JavaScript
6 lines
215 B
JavaScript
// A TypeScript compiler plugin must do a CJS style default export, but
|
|
// we can't express that in proper ESM, so this hand-written JS
|
|
// file bridges the difference.
|
|
|
|
module.exports = require("./lib/index").init;
|