「Support TypeScript 4.5 type-only import/export specifiers by sosukesuzuki · Pull Request #13802 · babel/babel · GitHub」

Q                       A      Fixed Issues? Fixes #13799   Minor: New Feature? Y   Tests Added + Pass? Yes   License MIT     Support type-only import/export specifiers will be landed in TS 4.5. import { type Foo } from "foo"; export { type Foo } from "foo"; Todo:   babel-parser  babel-generator  babel-types  babel-plugin-transform-typescript  AST change: /cc @bradzacher What do you think?  Add importKind: "value" | "type" to ImportSpecifier. Add exportKind: "value" | "type" to ExportSpecifier  References:  microsoft/TypeScript#45998

Q                       A Fixed Issues? Fixes #13799 Minor: New Feature? Y Tests Added + Pass? Yes License MIT Support type-only import/export specifiers will be landed in TS 4.5. import { type Foo } from "foo"; export { type Foo } from "foo"; Todo: babel-parser babel-generator babel-types babel-plugin-transform-typescript AST change: /cc @bradzacher What do you think? Add importKind: "value" | "type" to ImportSpecifier. Add exportKind: "value" | "type" to ExportSpecifier References: microsoft/TypeScript#45998

github.com

Webページ

コンテンツ文字数:0 文字

見出し数(H2/H3タグ):0 個

閲覧数:99 件

2021-10-12 11:11:16

オリジナルページを開く