diff --git a/client/src/extension.ts b/client/src/extension.ts index 5b1c374..75b7852 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -538,6 +538,11 @@ Executable ${this.denoInfo.executablePath} switch (extName) { case ".json": defaultTextContent = "{}"; + case ".js": + case ".jsx": + case ".ts": + case ".tsx": + defaultTextContent = "export function example () {}"; break; }