Skip to content

Commit

Permalink
📄 Add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Jan 20, 2024
1 parent bc74677 commit fb29678
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/content/src/shared/search/providers/URLProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function isUrlLike(query: string): boolean {
export class URLProvider extends Provider {
public providerPriority = 0

/* eslint @typescript-eslint/no-unused-vars: 0 */
public async getResults(_query: string) {
return []
}
Expand Down
4 changes: 4 additions & 0 deletions libs/shared/src/utilities/fn.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export const not =
<T extends Array<unknown>>(fn: (...args: T) => boolean) =>
(...args: T) =>
Expand Down
4 changes: 4 additions & 0 deletions libs/shared/src/utilities/ring.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export class Ring<T> {
private values: T[]
private index = -1
Expand Down

0 comments on commit fb29678

Please sign in to comment.