update
This commit is contained in:
10
snippets/external.ts
Normal file
10
snippets/external.ts
Normal 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')
|
||||
}
|
||||
Reference in New Issue
Block a user