Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(eslint): apply specified code style changes #138

Merged
merged 27 commits into from
Oct 17, 2022
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
54574c8
style(eslint): apply specified code style changes
ignoreintuition Oct 15, 2022
ebe562d
fix(src): use object spread
DerekNonGeneric Oct 16, 2022
c33049e
fix(src): use object literal instead of banned type
DerekNonGeneric Oct 16, 2022
c34389b
style(index): prefer tailing commas for js objects
DerekNonGeneric Oct 16, 2022
607e6c0
fix(src): update to use trailing commans for js objects
DerekNonGeneric Oct 16, 2022
24ced7d
fix
DerekNonGeneric Oct 16, 2022
3209b2a
Update src/index.ts
DerekNonGeneric Oct 16, 2022
ffc58ba
Update src/index.ts
DerekNonGeneric Oct 16, 2022
6da9d15
Update src/index.ts
DerekNonGeneric Oct 16, 2022
96e08c3
Update src/index.ts
DerekNonGeneric Oct 16, 2022
8e963d1
Update src/index.ts
DerekNonGeneric Oct 16, 2022
fcb48a3
Update src/index.ts
DerekNonGeneric Oct 16, 2022
5dce043
add note to return to later
DerekNonGeneric Oct 16, 2022
79f5d80
Update src/index.ts
DerekNonGeneric Oct 16, 2022
e66a051
Update src/index.ts
DerekNonGeneric Oct 16, 2022
5c7205c
Update src/index.ts
DerekNonGeneric Oct 16, 2022
74f22dc
Update src/index.ts
DerekNonGeneric Oct 17, 2022
d13b925
Update src/index.ts
DerekNonGeneric Oct 17, 2022
4545791
Update src/index.ts
DerekNonGeneric Oct 17, 2022
1b80afe
Update src/index.ts
DerekNonGeneric Oct 17, 2022
a14acd2
Update src/index.ts
DerekNonGeneric Oct 17, 2022
881139f
Update src/index.ts
DerekNonGeneric Oct 17, 2022
c2f6013
Update src/index.ts
DerekNonGeneric Oct 17, 2022
c077e4f
Update src/index.ts
DerekNonGeneric Oct 17, 2022
934c84e
Update src/index.ts
DerekNonGeneric Oct 17, 2022
b137820
Merge branch 'main' into style/ignoreintuition
DerekNonGeneric Oct 17, 2022
4fc93ee
fix(src): address remaining typecheck issues
DerekNonGeneric Oct 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/index.ts
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
DerekNonGeneric authored Oct 16, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Zitrone44 Jonas Kuche
commit e66a051761ec10ede1118399697c97c5757dce61
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export const map = <T>(opt_initial: T | undefined) {
* @returns {boolean}
* @template T
*/
export function hasOwn<T>(object: T, key: string) {
export const hasOwn = <T>(object: T, key: string): boolean {
return _hasOwn.call(object, key);
}