mirror of
https://codeberg.org/martials/homelab-presentasjon.git
synced 2025-06-28 06:08:49 +00:00
🎉 Initial commit
This commit is contained in:
12
snippets/external.ts
Normal file
12
snippets/external.ts
Normal file
@ -0,0 +1,12 @@
|
||||
/* 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')
|
||||
}
|
Reference in New Issue
Block a user