clientGenericTypes
Reports typos and unknown keys in the generic passed to
createClient<{ ... }>()
.
Only
createClient
imported from
@hyper-fetch/core
is checked, by name, alias or namespace
(
import * as HF
then
HF.createClient
). Files that do not mention both
@hyper-fetch/core
and
createClient
are skipped before oxlint deserializes their AST, which is where nearly all of the
rule's cost would go.
Import
import { clientGenericTypes } from "oxlint-plugin-hyper-fetch"
Source
Package
Preview
const clientGenericTypes = CreateOnceRule

