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
|
$(BUILDDIR)/%.js: %.ts
|
||||||
@echo '[tsc] ' $<
|
@echo '[tsc] ' $<
|
||||||
tsc --strict --noUncheckedIndexedAccess --noEmitOnError \
|
tsc --strict --noUncheckedIndexedAccess --noEmitOnError \
|
||||||
--lib dom,es2023 --target es2015 \
|
--lib dom,es2023 --target es2022 \
|
||||||
--outDir $(dir $@) $^
|
--outDir $(dir $@) $^
|
||||||
|
|
||||||
$(BUILDDIR)/rainbow-quox/palette.svg: rainbow-quox/make-palette/*
|
$(BUILDDIR)/rainbow-quox/palette.svg: rainbow-quox/make-palette/*
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noUncheckedIndexedAccess": true,
|
"noUncheckedIndexedAccess": true,
|
||||||
"noEmitOnError": true,
|
"noEmitOnError": true,
|
||||||
"lib": ["ES2021", "dom"],
|
"lib": ["ES2023", "dom"],
|
||||||
"target": "ES2015"
|
"target": "ES2022"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue