-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(thumbor): add jsdoc hints and class access modifiers
- Loading branch information
1 parent
6be3aa5
commit f6c98ae
Showing
2 changed files
with
105 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
import { Thumbor } from './thumbor.ts' | ||
import { ThumborClientOptions } from './types.ts' | ||
|
||
/** | ||
* Factory function to create a Thumbor instance with given options. | ||
* @param options Options for configuring the Thumbor instance. | ||
* @returns A new instance of Thumbor. | ||
*/ | ||
export function createThumbor(options: ThumborClientOptions) { | ||
return new Thumbor(options) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters