Add format script to package.json and format with prettier.

This commit is contained in:
wearrrrr 2024-07-14 20:18:28 -05:00
parent 61bd33845b
commit be3b87e795
39 changed files with 1732 additions and 1734 deletions

View file

@ -2,13 +2,13 @@ import { locationProxy } from "./location";
import { windowProxy } from "./window";
function scope(identifier: any) {
if (identifier instanceof Window) {
return windowProxy;
} else if (identifier instanceof Location) {
return locationProxy;
}
if (identifier instanceof Window) {
return windowProxy;
} else if (identifier instanceof Location) {
return locationProxy;
}
return identifier;
return identifier;
}
// shorthand because this can get out of hand reall quickly