use newer js version since OffscreenCanvas is 2022ish
This commit is contained in:
parent
c3760c1832
commit
d52151e787
2 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -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/*
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"strict": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noEmitOnError": true,
|
||||
"lib": ["ES2021", "dom"],
|
||||
"target": "ES2015"
|
||||
"lib": ["ES2023", "dom"],
|
||||
"target": "ES2022"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue