Turadg Aleahmad
Turadg Aleahmad
Enables stricter TypesScript config. Punts on `noImplicitAny` and `useUnknownInCatchVariables` (so they can continue to be any). Before adding `useUnknownInCatchVariables` I fixed some cases. Suppresses errors I didn't know how to...
Refs: #2406 ## Description @mhofman [suggested a fix for the FIXME](https://github.com/endojs/endo/pull/2406#discussion_r1723844078) in #2406. As expected it trip on recursion: ``` packages/pass-style/src/deeplyFulfilled.js:74:32 - error TS2589: Type instantiation is excessively deep and...
## What is the Problem Being Solved? TypeScript is very popular and the JsDoc syntax for it has many limitations compared to .ts. (Some described in https://github.com/Agoric/agoric-sdk/issues/5760) A developer who...
Refs: https://github.com/Agoric/agoric-sdk/issues/5760 Refs: https://github.com/endojs/endo/issues/2415 ## Description spike on getting Endo to bundle `.ts` syntax files as `.js` using https://github.com/swc-project/swc/pull/9138/ current status: ``` ❯ yarn test test/mts-imports-cjs-define.test.js ✘ [fail]: fixtures-esm-imports-cjs-define /...
- **chore: ignore Aider files** - **feat: destructured exports in harden-exports** > Most PRs should close a specific Issue. All PRs should at least reference one or more Issues. Edit...
refs: #2392 ## Description Make `mustMatch` assert type implied by matcher. TODO: rebase onto master. I have a working branch for that but it needs more work before overwriting this...
## What is the Problem Being Solved? Two problems. 1) Developers sometimes encounter `SES_ALREADY_LOCKED_DOWN` and have a hard time finding where it was locked down. Sometimes two modules both attempt...
# Problem The `rpc.query.ts` that Telescope generates is like, ```js export const createRPCQueryClient = async ({ rpcEndpoint, }: { rpcEndpoint: string | HttpEndpoint; }) => { const tmClient = await...
# Problem In the generated code, the import statements don't distinguish between runtime values and buildtime types. E.g. ```ts import { Lien, LienSDKType } from './lien.js'; import { JsonSafe }...
Refs: https://github.com/Agoric/agoric-sdk/issues/2160 ## Description Exploration in support of, - https://github.com/Agoric/agoric-sdk/issues/2160 Ambient authority is when an export closes over powerful stuff. This makes a simplifying assumption that if a module imports...