Skip to content

Commit

Permalink
Disable strictPropertyInitialization on TRI
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe committed Feb 15, 2024
1 parent a241480 commit 1eaddd8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/authz_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
shell: bash
run: |
make authz/copy-default-env
make authz/test/db/setup
make authz/db/generate-types
- name: Test types
Expand All @@ -56,7 +55,6 @@ jobs:
- name: Test integration
shell: bash
run: |
make authz/test/db/setup
make authz/test/integration
# - name: Test E2E
Expand Down
1 change: 1 addition & 0 deletions packages/authz-shared/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export * from './lib/util/enum.util'
export * from './lib/util/evm.util'
export * from './lib/util/hash-request.util'
export * from './lib/util/json.util'
export * from './lib/util/typeguards'
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Address } from '@narval/authz-shared'
import { assertAddress, assertHexString } from 'packages/authz-shared/src/lib/util/typeguards'
import { Address, assertAddress, assertHexString } from '@narval/authz-shared'
import { Hex, toHex } from 'viem'
import { ContractCallInput, InputType, Intents } from '../../../domain'
import { DecoderError } from '../../../error'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import {
assertAddress,
assertArray,
assertBigInt,
assertHexString
} from 'packages/authz-shared/src/lib/util/typeguards'
import { assertAddress, assertArray, assertBigInt, assertHexString } from '@narval/authz-shared'
import { DecoderError } from '../error'
import {
ApproveAllowanceParams,
Expand Down
3 changes: 2 additions & 1 deletion packages/transaction-request-intent/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ import {
Hex,
Namespace,
TransactionRequest,
assertHexString,
isAccountId,
isAddress,
isString,
toAccountId,
toAssetId
} from '@narval/authz-shared'
import { assertHexString, isString } from 'packages/authz-shared/src/lib/util/typeguards'
import { SetOptional } from 'type-fest'
import { Address, fromHex, presignMessagePrefix } from 'viem'
import {
Expand Down
3 changes: 2 additions & 1 deletion packages/transaction-request-intent/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"strictPropertyInitialization": false
}
}

0 comments on commit 1eaddd8

Please sign in to comment.