clean up some stuff, moved around other
This commit is contained in:
parent
117b535962
commit
5615049a15
16 changed files with 80 additions and 84 deletions
|
|
@ -6,3 +6,8 @@ export function escapeHTML(str: string): string {
|
|||
export function isNullish<T>(v: T | undefined | null): v is (null | undefined) {
|
||||
return v === null || v === undefined;
|
||||
}
|
||||
|
||||
// MAKE SURE YOU DO WANT TO CALL THIS FUNCTION
|
||||
export function ensureWindowState() {
|
||||
window.__state = window.__state ?? {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue