Skip to content

Commit

Permalink
update typescript config
Browse files Browse the repository at this point in the history
  • Loading branch information
gumaerc committed Feb 11, 2025
1 parent f854dc7 commit 2af7ea9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"compilerOptions": {
"incremental": true,
"target": "es5",
"target": "es6",
"lib": [
"es2020",
"dom"
],
"jsx": "react",
"module": "ES2020",
"moduleResolution": "node",
"module": "NodeNext",
"moduleResolution": "nodenext",
"typeRoots": [
"node_modules/@types",
"base-theme/assets/types"
Expand Down
2 changes: 1 addition & 1 deletion www/assets/js/hooks/user.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useQuery } from "@tanstack/react-query"
import { Configuration, User as UserApi, UsersApi } from "@mitodl/open-api-axios/dist/esm/v0"
import { Configuration, User as UserApi, UsersApi } from "@mitodl/open-api-axios/v0"

interface User extends Partial<UserApi> {
is_authenticated: boolean

Check failure on line 5 in www/assets/js/hooks/user.ts

View workflow job for this annotation

GitHub Actions / javascript-tests

Identifier 'is_authenticated' is not in camel case
Expand Down

0 comments on commit 2af7ea9

Please sign in to comment.