chore: properly package .ts and .d.ts files (#6257)

* fix: package .ts sources

* chore: add generating type defs

* chore: copy generated type defs into dist dir

* chore: fix adding generated def files

* chore: remove unnecessary imports

* chore: make handcrafted files reference generated

* chore: replace AnyDuringMigration with any

* chore: use replace instead of regex-replace

* chore: use value in config instead of magic strings

* chore: remove blockly.d.ts

* chore: update jsdocs

* chore: remove old references to typings
This commit is contained in:
Beka Westberg
2022-08-05 15:25:41 +00:00
committed by GitHub
parent fd127f6b60
commit 8f0a5ae6a8
16 changed files with 20 additions and 26173 deletions

3
typings/python.d.ts vendored
View File

@@ -9,8 +9,5 @@
* @author samelh@google.com (Sam El-Husseini)
*/
/// <reference path="core.d.ts" />
import * as Blockly from './core';
declare const python: any;
export = python;