3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 02:25:01 +00:00

Type fixes + use template safe values for renderTemplate() everywhere

This commit is contained in:
Dragory 2021-08-18 20:32:45 +03:00
parent 7a1eed254a
commit a5ecf849a4
21 changed files with 190 additions and 98 deletions

View file

@ -0,0 +1,3 @@
export function isScalar(value: unknown): value is string | number | boolean | null | undefined {
return value == null || typeof value === "string" || typeof value === "number" || typeof value === "boolean";
}