Rust は明らかに欠陥のある言語です。unwrap によってすべてを回避できます... TypeScriptは真に成功した言語だと思います。その洗練された構文と厳格なESLintルールの組み合わせにより、誰も「any」を正しく入力することはできません。もし正しく入力したとしても、すぐにペナルティを受けます。 この呼び出しに一致するオーバーロードはありません。 次のオーバーロードが検討されましたが、一致するものはありませんでした。 オーバーロード 1/2: (小道具:省略 & 選択 & 部分的 &{ __TS_INTERNAL_EXTRA_PROPS__: なし; }, 「クラス」 | 「コンポーネント」 | 「sx」 >, 非常に複雑で一般的なキー >): ReactElement | null 次のエラーが検出されました: タイプ '{ 子: 文字列; 形式: "プライマリ" | "セカンダリ"; バリエーション: "contained" | "outlined" | "text"; }' 型に割り当てることはできません 固有の属性 &省略 & 選択 & 部分的 &{ __ts_internal_component_meta_do_not_touch?: 決して; }, 「クラス」 | 「コンポーネント」 | 「sx」 >, NeverTypeBecauseYouPassedTheWrongProp のキー >' プロパティ 'format' はタイプに存在しません: 固有の属性 & 省略' TS7006: パラメータ「props」は暗黙的に「any」型を持ちます。 コンパイラが1.8MBの型情報を生成したにもかかわらず そうでないことを証明するため。 TS7075: 型のインスタンス化が過度に深く、無限である可能性があります。 TypeScript はクトゥルフの召喚を避けるために再帰を停止しました。 createCompilerDiagnosticForNode (node_modules/typescript/internal/babelified/compiler.js:118284:24) で reportErrorThatCompilerCanNeverExplain (node_modules/typescript/internal/babelified/compiler.js:118999:44) で checkCallExpression (node_modules/typescript/internal/babelified/compiler.js:105881:31) で checkExpressionWorker (node_modules/typescript/internal/babelified/compiler.js:104421:28) で checkExpression (node_modules/typescript/internal/babelified/compiler.js:104200:42) で checkBinaryLikeExpression (node_modules/typescript/internal/babelified/compiler.js:105402:32) で checkExpressionWorker (node_modules/typescript/internal/babelified/compiler.js:104389:28) で checkExpression (node_modules/typescript/internal/babelified/compiler.js:104200:42) で getTypeOfNode (node_modules/typescript/internal/babelified/compiler.js:97611:28) で getAssignedTypeOfExpression (node_modules/typescript/internal/babelified/compiler.js:95432:25) で inferFromAssignment (node_modules/typescript/internal/babelified/compiler.js:95451:17) で recursivelyExpandInfiniteConditionalType (node_modules/typescript/internal/babelified/compiler.js:98773:52) で deepInferUntilYourBrainDies (node_modules/typescript/internal/babelified/compiler.js:99999:99) で typeCheckTheThingThatWasNeverMeantToExist (node_modules/typescript/internal/babelified/compiler.js:100001:12) で checkTypeRelatedToWithFailureOutputThatNoHumanCanRead (node_modules/typescript/internal/babelified/compiler.js:102387:62) で checkTypeRelatedTo (node_modules/typescript/internal/babelified/compiler.js:102200:26) で checkPropertyWithInsaneGenericDepth (node_modules/typescript/internal/babelified/compiler.js:101102:28) で checkJsxAttributesAssignableToType (node_modules/typescript/internal/babelified/compiler.js:108441:19) で checkJsxOpeningLikeElementOrOpeningFragment (node_modules/typescript/internal/babelified/compiler.js:108292:29) で checkJsxOpeningElement (node_modules/typescript/internal/babelified/compiler.js:108113:28) で checkJsxSelfClosingElement (node_modules/typescript/internal/babelified/compiler.js:108100:22) で checkJsxElement (node_modules/typescript/internal/babelified/compiler.js:108044:25) で checkJsxNode (node_modules/typescript/internal/babelified/compiler.js:108020:28) で checkExpressionWorker (node_modules/typescript/internal/babelified/compiler.js:104399:32) で checkExpression (node_modules/typescript/internal/babelified/compiler.js:104200:42) で getTypeOfNode (node_modules/typescript/internal/babelified/compiler.js:97611:28) で getWidenedTypeOrInfiniteLoop (node_modules/typescript/internal/babelified/compiler.js:96777:20) で getTypeFromFlowNodeOrGiveUpOnEverything (node_modules/typescript/internal/babelified/compiler.js:95204:19) で
スレッドを読み込み中
X から元のツイートを取得し、読みやすいビューを準備しています。
通常は数秒で完了しますので、お待ちください。