Skip to content

Instantly share code, notes, and snippets.

@minhphong306
Created August 24, 2023 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minhphong306/f28bc2eca3c0943c871a0a6574524f0c to your computer and use it in GitHub Desktop.
Save minhphong306/f28bc2eca3c0943c871a0a6574524f0c to your computer and use it in GitHub Desktop.
example_3.ts
if (!file_exist){
console.log('Run into create file');
create_file();
}
console.log('Read all file content');
content = read_all_files_content();
return content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment