mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-30 19:48:03 +00:00
13 lines
273 B
TypeScript
13 lines
273 B
TypeScript
|
/* eslint-disable no-console */
|
||
|
|
||
|
// #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')
|
||
|
}
|