(refactor) do generateDTS in build-assets (#11812)
This commit is contained in:
parent
c0838c473f
commit
7bd0a5b7cb
3 changed files with 9 additions and 6 deletions
|
@ -1,6 +1,11 @@
|
|||
import * as fs from 'node:fs';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { dirname } from 'node:path';
|
||||
import * as yaml from 'js-yaml';
|
||||
import * as ts from 'typescript';
|
||||
import ts from 'typescript';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
function createMembers(record) {
|
||||
return Object.entries(record)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue