Requires client method options parameter types to be suffixed with Options
and prefixed with the method name.
class ServiceClient {
constructor(options: ServiceClientOptions) {
/* code */
}
createItem(options: CreateItemOptions): Item {
/* code to return instance of Item */
}
upsertItem(options: UpsertItemOptions): Item {
/* code to return instance of Item */
}
}
class ServiceClient {
constructor(options: Options) {
/* code */
}
createItem(options: Options): Item {
/* code to return instance of Item */
}
}
Only if the rule breaks.