Skip to content

Commit

Permalink
Merged Pull Request '#122 fix/tracker-type-fix->main : Fix typo in tr…
Browse files Browse the repository at this point in the history
…acker's function return type'

Fix typo in tracker's function return type
  • Loading branch information
Automation51D authored Jun 13, 2024
2 parents 4c886cf + f7b2990 commit 2bc86c8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 21 additions & 21 deletions fiftyone.pipeline.engines/tracker.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/* *********************************************************************
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
* Copyright 2023 51 Degrees Mobile Experts Limited, Davidson House,
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
*
* This Original Work is licensed under the European Union Public Licence
* (EUPL) v.1.2 and is subject to its terms as set out below.
*
* If a copy of the EUPL was not distributed with this file, You can obtain
* one at https://opensource.org/licenses/EUPL-1.2.
*
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be
* amended by the European Commission) shall be deemed incompatible for
* the purposes of the Work and the provisions of the compatibility
* clause in Article 5 of the EUPL shall not apply.
*
* If using the Work as, or as part of, a network application, by
* including the attribution notice(s) required under Article 5 of the EUPL
* in the end user terms of the application under an appropriate heading,
* such notice(s) shall fulfill the requirements of that article.
/* *********************************************************************
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
* Copyright 2023 51 Degrees Mobile Experts Limited, Davidson House,
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
*
* This Original Work is licensed under the European Union Public Licence
* (EUPL) v.1.2 and is subject to its terms as set out below.
*
* If a copy of the EUPL was not distributed with this file, You can obtain
* one at https://opensource.org/licenses/EUPL-1.2.
*
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be
* amended by the European Commission) shall be deemed incompatible for
* the purposes of the Work and the provisions of the compatibility
* clause in Article 5 of the EUPL shall not apply.
*
* If using the Work as, or as part of, a network application, by
* including the attribution notice(s) required under Article 5 of the EUPL
* in the end user terms of the application under an appropriate heading,
* such notice(s) shall fulfill the requirements of that article.
* ********************************************************************* */

const DataKeyedCache = require('./dataKeyedCache');
Expand Down Expand Up @@ -49,7 +49,7 @@ class Tracker extends DataKeyedCache {
* If object is found in cache, the match function is called
*
* @param {object} result of the track function
* @returns {Boolen} whether a match has been made
* @returns {boolean} whether a match has been made
*/
match (result) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion fiftyone.pipeline.engines/types/tracker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare class Tracker extends DataKeyedCache {
* If object is found in cache, the match function is called
*
* @param {object} result of the track function
* @returns {Boolen} whether a match has been made
* @returns {boolean} whether a match has been made
*/
match(result: object): any;
}
Expand Down

0 comments on commit 2bc86c8

Please sign in to comment.