use newer js version since OffscreenCanvas is 2022ish

This commit is contained in:
Rhiannon Morris 2024-12-13 02:53:47 +01:00
parent c3760c1832
commit d52151e787
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ $(BUILDDIR)/%: %
$(BUILDDIR)/%.js: %.ts
@echo '[tsc] ' $<
tsc --strict --noUncheckedIndexedAccess --noEmitOnError \
--lib dom,es2023 --target es2015 \
--lib dom,es2023 --target es2022 \
--outDir $(dir $@) $^
$(BUILDDIR)/rainbow-quox/palette.svg: rainbow-quox/make-palette/*

View file

@ -3,7 +3,7 @@
"strict": true,
"noUncheckedIndexedAccess": true,
"noEmitOnError": true,
"lib": ["ES2021", "dom"],
"target": "ES2015"
"lib": ["ES2023", "dom"],
"target": "ES2022"
}
}