You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is this intended?
i've tried using the VirtualTypeScriptEnvironment.sys.deleteFile function, but it is undefined.
my current workaround is to set the file contents to a single-space string (completely empty strings currently throw errors as reported here: #2713).
it's not too big an issue for me right now since my virtual files are not directly visible and their names are auto-incremented, but i figured this would be worth posting here.
The text was updated successfully, but these errors were encountered:
Hello! As per #2804, we are automatically closing all open issues. Please see #2804 for a description of what issues and PRs can be accepted going forward.
Just following up on this. Is there a reason deleteFile is no included? I could take a look at a PR, but wanted to make sure the omission is not by design
the VirtualTypeScriptEnvironment interface has two file-related functions
createFile
andupdateFile
, but seemingly nodeleteFile
.TypeScript-Website/packages/typescript-vfs/src/index.ts
Lines 22 to 23 in b89d197
is this intended?
i've tried using the
VirtualTypeScriptEnvironment.sys.deleteFile
function, but it is undefined.my current workaround is to set the file contents to a single-space string (completely empty strings currently throw errors as reported here: #2713).
it's not too big an issue for me right now since my virtual files are not directly visible and their names are auto-incremented, but i figured this would be worth posting here.
The text was updated successfully, but these errors were encountered: