mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-20 05:10:56 +00:00
Remove non-standard "type annotations"
Since we're not actually using Flow.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
// Converts "accessToken" to "Access Token"
|
||||
export function camelCaseToRegularForm(camelCase: string): string {
|
||||
export function camelCaseToRegularForm(camelCase) {
|
||||
return camelCase
|
||||
// insert a space before all caps
|
||||
.replace(/([A-Z])/g, ' $1')
|
||||
|
||||
Reference in New Issue
Block a user