modified: src/lib/templates.ts
This commit is contained in:
parent
a3bdd3fdda
commit
a43a397ad7
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ export interface ScriptTemplate {
|
|||
platform: PlatformId;
|
||||
}
|
||||
|
||||
|
||||
export function getTemplatesForPlatform(platform: PlatformId): ScriptTemplate[] {
|
||||
return templates.filter(t => t.platform === platform);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue