Skip to content

Commit 6e954b7

Browse files
authored
Convert to TS (#679)
1 parent e85de4d commit 6e954b7

File tree

1 file changed

+2
-2
lines changed
  • packages/optimizely-sdk/lib/plugins/error_handler

1 file changed

+2
-2
lines changed

packages/optimizely-sdk/lib/plugins/error_handler/index.js renamed to packages/optimizely-sdk/lib/plugins/error_handler/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2016, 2020, Optimizely
2+
* Copyright 2016, 2020-2021, Optimizely
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
/**
1818
* Default error handler implementation
1919
*/
20-
export var handleError = function() {
20+
export function handleError(): void {
2121
// no-op
2222
}
2323

0 commit comments

Comments
 (0)