Last active
August 2, 2021 13:01
-
-
Save ljmotta/3e0448ee921382212551fb8973c2fd8f to your computer and use it in GitHub Desktop.
I18n Wrapped Example Dictionary
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
interface MyDictionary extends ReferenceDictionary { | |
// ... | |
dragFile: Array<string | Wrapped<"file" | "folder">>; | |
} | |
const en: MyDictionary { | |
// ... | |
dragFile: ["Drag the ", wrapped("file"), "to your ", wrapped("folder")]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment