Skip to content

Commit 8d2546f

Browse files
[chai] Fix assorted JSDoc typos
1 parent 2f8015c commit 8d2546f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

types/chai/index.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ declare namespace Chai {
872872
include<T>(haystack: T, needle: Partial<T>, message?: string): void;
873873

874874
/**
875-
* Asserts that haystack does not includes needle.
875+
* Asserts that haystack does not include needle.
876876
*
877877
* @param haystack Container string.
878878
* @param needle Potential substring of haystack.
@@ -881,7 +881,7 @@ declare namespace Chai {
881881
notInclude(haystack: string, needle: string, message?: string): void;
882882

883883
/**
884-
* Asserts that haystack does not includes needle.
884+
* Asserts that haystack does not include needle.
885885
*
886886
* T Type of values in haystack.
887887
* @param haystack Container array, set or map.
@@ -895,7 +895,7 @@ declare namespace Chai {
895895
): void;
896896

897897
/**
898-
* Asserts that haystack does not includes needle.
898+
* Asserts that haystack does not include needle.
899899
*
900900
* T Type of values in haystack.
901901
* @param haystack WeakSet container.
@@ -905,7 +905,7 @@ declare namespace Chai {
905905
notInclude<T extends object>(haystack: WeakSet<T>, needle: T, message?: string): void;
906906

907907
/**
908-
* Asserts that haystack does not includes needle.
908+
* Asserts that haystack does not include needle.
909909
*
910910
* T Type of haystack.
911911
* @param haystack Object.
@@ -940,7 +940,7 @@ declare namespace Chai {
940940
): void;
941941

942942
/**
943-
* Asserts that haystack does not includes needle.
943+
* Asserts that haystack does not include needle.
944944
*
945945
* T Type of haystack.
946946
* @param haystack Object.
@@ -950,7 +950,7 @@ declare namespace Chai {
950950
deepInclude<T>(haystack: T, needle: T extends WeakSet<any> ? never : Partial<T>, message?: string): void;
951951

952952
/**
953-
* Asserts that haystack does not includes needle. Deep equality is used.
953+
* Asserts that haystack does not include needle. Deep equality is used.
954954
*
955955
* @param haystack Container string.
956956
* @param needle Potential substring of haystack.
@@ -961,7 +961,7 @@ declare namespace Chai {
961961
notDeepInclude(haystack: string, needle: string, message?: string): void;
962962

963963
/**
964-
* Asserts that haystack does not includes needle. Deep equality is used.
964+
* Asserts that haystack does not include needle. Deep equality is used.
965965
*
966966
* T Type of values in haystack.
967967
* @param haystack Container array, set or map.
@@ -975,7 +975,7 @@ declare namespace Chai {
975975
): void;
976976

977977
/**
978-
* Asserts that haystack does not includes needle. Deep equality is used.
978+
* Asserts that haystack does not include needle. Deep equality is used.
979979
*
980980
* T Type of haystack.
981981
* @param haystack Object.
@@ -1109,7 +1109,7 @@ declare namespace Chai {
11091109
property<T>(object: T, property: string, /* keyof T */ message?: string): void;
11101110

11111111
/**
1112-
* Asserts that object has a property named by property.
1112+
* Asserts that object does not have a property named by property.
11131113
*
11141114
* T Type of object.
11151115
* @param object Container object.

0 commit comments

Comments
 (0)