Skip to content

Commit 8fc9db2

Browse files
build: fix type checking
1 parent 61c561c commit 8fc9db2

20 files changed

+29
-29
lines changed

src/rules/functional-parameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const errorMessages = {
149149
/**
150150
* The meta data for this rule.
151151
*/
152-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
152+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
153153
type: "suggestion",
154154
docs: {
155155
category: "Currying",

src/rules/immutable-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const errorMessages = {
110110
/**
111111
* The meta data for this rule.
112112
*/
113-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
113+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
114114
type: "suggestion",
115115
docs: {
116116
category: "No Mutations",

src/rules/no-classes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const errorMessages = {
4444
/**
4545
* The meta data for this rule.
4646
*/
47-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
47+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
4848
type: "suggestion",
4949
docs: {
5050
category: "No Other Paradigms",

src/rules/no-conditional-statements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const errorMessages = {
8888
/**
8989
* The meta data for this rule.
9090
*/
91-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
91+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
9292
type: "suggestion",
9393
docs: {
9494
category: "No Statements",

src/rules/no-expression-statements.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import {
1515
type IgnoreCodePatternOption,
1616
} from "#eslint-plugin-functional/options";
1717
import {
18-
ruleNameScope,
1918
isDirectivePrologue,
19+
ruleNameScope,
2020
} from "#eslint-plugin-functional/utils/misc";
2121
import {
2222
createRule,
@@ -87,7 +87,7 @@ const errorMessages = {
8787
/**
8888
* The meta data for this rule.
8989
*/
90-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
90+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
9191
type: "suggestion",
9292
docs: {
9393
category: "No Statements",

src/rules/no-let.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const errorMessages = {
7878
/**
7979
* The meta data for this rule.
8080
*/
81-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
81+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
8282
type: "suggestion",
8383
docs: {
8484
category: "No Mutations",

src/rules/no-loop-statements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const errorMessages = {
4444
/**
4545
* The meta data for this rule.
4646
*/
47-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
47+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
4848
type: "suggestion",
4949
docs: {
5050
category: "No Statements",

src/rules/no-mixed-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const errorMessages = {
7373
/**
7474
* The meta data for this rule.
7575
*/
76-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
76+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
7777
type: "suggestion",
7878
docs: {
7979
category: "No Other Paradigms",

src/rules/no-promise-reject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const errorMessages = {
4848
/**
4949
* The meta data for this rule.
5050
*/
51-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
51+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
5252
type: "suggestion",
5353
docs: {
5454
category: "No Exceptions",

src/rules/no-return-void.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const errorMessages = {
8080
/**
8181
* The meta data for this rule.
8282
*/
83-
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages> = {
83+
const meta: NamedCreateRuleCustomMeta<keyof typeof errorMessages, Options> = {
8484
type: "suggestion",
8585
docs: {
8686
category: "No Statements",

0 commit comments

Comments
 (0)