Skip to content

Commit

Permalink
Update tsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed Oct 13, 2021
1 parent 07a8f58 commit 8045f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linguini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class Linguini {
*
* @param location - The location of the item in the language file, using dot-notation, and relative to the "data" section in the JSON. Ex: `myCategory.myItem`.
* @param langCode - The language file code to extract from. Ex: `en`.
* @param typeMapper - A function which maps the retrieved item data to a type.
* @param typeMapper - A function which maps the retrieved item data to a type. The could be a built-in function from Linguini's `TypeMappers` import, or a custom function.
* @param variables - Any variables (Ex: `{{MY_VARIABLE}}`) to replace in the retrieved data.
*
* @returns The retrieved language file item.
Expand Down

0 comments on commit 8045f4e

Please sign in to comment.