{"id":120339,"recorded_at":"2026-10-26T14:40:17.687737Z","observed_at":"2026-10-26T14:40:17.687693Z","subject_kind":"source_record","subject":"x402_bazaar:https://saylorinnovations.com/api/kb/typescript-narrowing-unknown-never-discriminated-unions-errors","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://saylorinnovations.com/api/kb/typescript-narrowing-unknown-never-discriminated-unions-errors"]],"name":"Saylor Innovations Guide Library","owner_address":"0xa2a8df0f7caabea4e120a2568118f141569fc8aa","raw":{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:typescript-narrowing-unkn","name":"USD Coin","note":"Base settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:typescript-narrowing-unkn","name":"USD Coin","note":"Polygon settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:137","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:typescript-narrowing-unkn","name":"USD Coin","note":"Arbitrum settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:42161","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"GVJJ7rdGiXr5xaYbRwRbjfaJL7fmwRygFi1H6aGqDveb","memo":"saylor:typescript-narrowing-unkn","reference":"CZvN2RDStZETv4zrc5otrJ2cpBp6DCQhjtbmCc4H4FXV","session":"eyJhcnRpY2xlSWQiOiJ0eXBlc2NyaXB0LW5hcnJvd2luZy11bmtub3duLW5ldmVyLWRpc2NyaW1pbmF0ZWQtdW5pb25zLWVycm9ycyIsInJlZmVyZW5jZSI6IkNadk4yUkRTdFpFVHY0enJjNW90ckoyY3BCcDZEQ1FoanRibUNjNEg0RlhWIiwicmVjaXBpZW50IjoiN0xTamZySmY4Zk5zQjhWQTl1N04zV0VuMjVzbVFMcG9iM1N2eVV2WGFjeTciLCJtaW50IjoiRVBqRldkZDVBdWZxU1NxZU0ycU4xeHp5YmFwQzhHNHdFR0drWnd5VER0MXYiLCJtaW5BbW91bnQiOjEwMDAwLCJleHAiOjE3OTI5Njg5MzU2MTd9.1TwDz-4o1KwkOfnuIEg7sGcuErL5SKaVMGprbUzIggk"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"10000","asset":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","extra":{"feePayer":"GVJJ7rdGiXr5xaYbRwRbjfaJL7fmwRygFi1H6aGqDveb","memo":"saylor:typescript-narrowing-unkn","reference":"7DYTSqrYJMGqJwohHrYGKGAxu4iwtF3HmQ5YKUib7svt","session":"eyJhcnRpY2xlSWQiOiJ0eXBlc2NyaXB0LW5hcnJvd2luZy11bmtub3duLW5ldmVyLWRpc2NyaW1pbmF0ZWQtdW5pb25zLWVycm9ycyIsInJlZmVyZW5jZSI6IjdEWVRTcXJZSk1HcUp3b2hIcllHS0dBeHU0aXd0RjNIbVE1WUtVaWI3c3Z0IiwicmVjaXBpZW50IjoiN0xTamZySmY4Zk5zQjhWQTl1N04zV0VuMjVzbVFMcG9iM1N2eVV2WGFjeTciLCJtaW50IjoiRXM5dk1GcnphQ0VSbUpmckY0SDJGWUQ0S0NvTmtZMTFNY0NlOEJlbndOWUIiLCJtaW5BbW91bnQiOjEwMDAwLCJleHAiOjE3OTI5Njg5MzU2MTd9.wHyv6BI36RuLXJmUTERgA8PmblM97JfCtoBsYAtrLs4"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"95518","asset":"So11111111111111111111111111111111111111112","extra":{"memo":"saylor:typescript-narrowing-unkn","native":true,"note":"Native SOL: send lamports with a system transfer, not an SPL transfer. Price is quoted live and this quote expires in 120s.","quotedLamports":"98473","reference":"9FH7d8Gur5KxEKEQGLEjUE9UeaCcyzEcbTYm79LsMzqM","session":"eyJhcnRpY2xlSWQiOiJ0eXBlc2NyaXB0LW5hcnJvd2luZy11bmtub3duLW5ldmVyLWRpc2NyaW1pbmF0ZWQtdW5pb25zLWVycm9ycyIsInJlZmVyZW5jZSI6IjlGSDdkOEd1cjVLeEVLRVFHTEVqVUU5VWVhQ2N5ekVjYlRZbTc5THNNenFNIiwicmVjaXBpZW50IjoiN0xTamZySmY4Zk5zQjhWQTl1N04zV0VuMjVzbVFMcG9iM1N2eVV2WGFjeTciLCJtaW50IjpudWxsLCJtaW5BbW91bnQiOjk1NTE4LCJleHAiOjE3OTI5Njg5MzU2MTd9.PTfaiq6hkYbSv-IHyxbhQfjHlKJ7LvDp5bLvZeB5SC8","solUsdPrice":101.55},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"}],"description":"Fix strict TypeScript errors - TS18046 unknown, TS2339 unions, TS2540 as const, TS2353 excess props, TS18048 index access, never exhaustiveness","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"body":"Compiled with TypeScript in strict mode and noUncheckedIndexedAccess: real error codes and messages for each pattern, plus the corrected code using discriminated unions, typeof guards, optional chaining and a never exhaustiveness helper.","c":"Self-Hosting & Infra","id":"typescript-narrowing-unknown-never-discriminated-unions-errors","t":"TypeScript Narrowing Errors: unknown, Unions, Readonly, Excess Properties, Index Access and never Exhaustiveness"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"body":{"description":"Main body text","type":"string"},"c":{"description":"Category of the guide","type":"string"},"id":{"description":"Identifier of the record","type":"string"},"license":{"description":"License identifier","type":"string"},"price":{"description":"Price","type":["number","null"]},"t":{"description":"Title of the guide","type":"string"}},"required":["id","t","c","body"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791811517/bazaar-icons/bc5e2b3d111ebbef.jpg","lastUpdated":"2026-10-25T22:53:35.663Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":2,"lastCalledAt":"2026-10-25T22:53:35.333Z"},"resource":"https://saylorinnovations.com/api/kb/typescript-narrowing-unknown-never-discriminated-unions-errors","serviceName":"Saylor Innovations Guide Library","tags":["typescript","types","narrowing","strict","errors"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Fix strict TypeScript errors - TS18046 unknown, TS2339 unions, TS2540 as const, TS2353 excess props, TS18048 index access, never exhaustiveness"},"body_sha256":"54ecb21032d616c822aee59376e770886372736afe60cd07b205df6c1bea0ced","prev_id":null,"leaf":"0x14a8ba320b2406fc3f8e3f1d4dd1fdac76597b0cd7847547a04d593bb04e0cbb","leaf_text":"{\"body\":\"54ecb21032d616c822aee59376e770886372736afe60cd07b205df6c1bea0ced\",\"id\":120339,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025617687693,\"prev\":null,\"subject\":\"x402_bazaar:https://saylorinnovations.com/api/kb/typescript-narrowing-unknown-never-discriminated-unions-errors\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0x14a8ab5aac8df61898cebef20ad7fb8ff036ec41da0db2047e57104767391394","0xd63b620022eee9779679773bc3cedcdc4fa441481ebe023241bf0ad6b628ee3a","0x7c405fe4705562958262d3c996c268ae7bf35edfec79c9b88f53c33af492099e","0xa8953b9a56fcfbff0f35c5972ff40dd339db20e89e617927406369e45dbe9d28","0x7e65f7f3b4c20d5061b1ba95645cd3410185bf917b31d106d56120757bce1728","0x8aa3971a69a37b9d7b86e8e22ed2cf493763abb5500d6c2569881e8c3d4268ad","0x78b86ebb4b045ddffa1ba39366de3ef3504c23e9e934286d18055a0bfa4c05fc","0x48f40a310695d4651e0cd5effc1d19c591287d15c1b4f1852288e5bbe269f8d7","0xa1c97fce099b76ae5c7423a9989001840737260494a60f3b3091dbe3a1371215","0x008cbf3247d4503d443f28c4c20ecbbf230ffd5cf8ab0fd65a43b17b5b4825ba","0xb5d5212c69fb335bad2409aa4a0da0469cc6cc62939ca82d5235005f3b154a2b","0x2412cb8bc4d10d94e1eb907d5058dd12133e55416609e1b314e811af76620542","0xff1c28bdf595a3d1333e9915edc68e9c5fded7bd5923fa85870979af34cbc3b3","0xb49e8c2564256e5322e375cb619d9ac70fd17c1d1eba9c991bba4cb6428f45cc","0x60582ab4b41e72eb70eb0bce07fbf0fb4d2b62a8bad5be50f5d16d511adc746c","0xc6a4d7899a0f442958e26505011190b7cff2483611c1b94eba9043e0ba9ac36e","0x8c756542e482157df0c36464d75c937b845e4423dbbcfad08f0cf8d5a16b9a13","0x20704208aa6923d6b2450ef74ede87a6e0265d46447926038fe9506e9e154b2d","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}