mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Clean up some typings in build
- Adding ts-check in a few more js files - Switching to use `@types` for a few more packages - Remove some unused code
This commit is contained in:
@@ -26,7 +26,7 @@ const packageJsonMarkerId = 'BUILD_INSERT_PACKAGE_CONFIGURATION';
|
||||
export function inlineMeta(result: NodeJS.ReadWriteStream, ctx: IInlineMetaContext): NodeJS.ReadWriteStream {
|
||||
return result.pipe(es.through(function (file: File) {
|
||||
if (matchesFile(file, ctx)) {
|
||||
let content = file.contents.toString();
|
||||
let content = file.contents!.toString();
|
||||
let markerFound = false;
|
||||
|
||||
const packageMarker = `${packageJsonMarkerId}:"${packageJsonMarkerId}"`; // this needs to be the format after esbuild has processed the file (e.g. double quotes)
|
||||
|
||||
Reference in New Issue
Block a user