This commit is contained in:
2025-11-14 20:43:59 +08:00
parent d1ba8bbab1
commit e35712820f
16 changed files with 606 additions and 14 deletions

View File

@@ -0,0 +1,10 @@
// #region snippet
// Inside ./snippets/external.ts
export function emptyArray<T>(length: number) {
return Array.from<T>({ length })
}
// #endregion snippet
export function sayHello() {
console.log('Hello from snippets/external.ts')
}