File tree Expand file tree Collapse file tree 3 files changed +11
-25
lines changed Expand file tree Collapse file tree 3 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 1- /*!
1+ /**
22 * Composer
33 *
44 * Composer is offered composable API for Vue 3
@@ -125,9 +125,7 @@ export interface ComposerInternalOptions {
125125 * This is the interface for being used for Vue 3 Composition API.
126126 */
127127export interface Composer {
128- /*!
129- * properties
130- */
128+ // properties
131129 locale : WritableComputedRef < Locale >
132130 fallbackLocale : WritableComputedRef < FallbackLocale >
133131 inheritLocale : boolean
@@ -143,9 +141,7 @@ export interface Composer {
143141 fallbackRoot : boolean
144142 fallbackFormat : boolean
145143 warnHtmlMessage : boolean
146- /*!
147- * methods
148- */
144+ // methods
149145 t ( key : Path ) : string
150146 t ( key : Path , plural : number ) : string
151147 t ( key : Path , plural : number , options : TranslateOptions ) : string
@@ -435,7 +431,7 @@ export function createComposer(
435431 // numberFormats
436432 const numberFormats = computed ( ( ) => _numberFormats . value )
437433
438- /*!
434+ /**
439435 * define methods
440436 */
441437
@@ -684,9 +680,7 @@ export function createComposer(
684680
685681 // export composable API!
686682 const composer = {
687- /*!
688- * properties
689- */
683+ // properties
690684 locale,
691685 fallbackLocale,
692686 get inheritLocale ( ) : boolean {
@@ -750,9 +744,7 @@ export function createComposer(
750744 _context . warnHtmlMessage = val
751745 } ,
752746 __id : composerID ,
753- /*!
754- * methods
755- */
747+ // methods
756748 t,
757749 d,
758750 n,
Original file line number Diff line number Diff line change 1- /*!
1+ /**
22 * Legacy
33 *
44 * This module is offered legacy vue-i18n API compatibility
@@ -94,9 +94,7 @@ export interface VueI18nOptions {
9494 * This interface is compatible with interface of `VueI18n` class (offered with [email protected] ). 9595 */
9696export interface VueI18n {
97- /*!
98- * properties
99- */
97+ // properties
10098 locale : Locale
10199 fallbackLocale : FallbackLocale
102100 readonly availableLocales : Locale [ ]
@@ -112,10 +110,7 @@ export interface VueI18n {
112110 sync : boolean
113111 warnHtmlInMessage : WarnHtmlInMessageLevel
114112 preserveDirectiveContent : boolean
115-
116- /*!
117- * methods
118- */
113+ // methods
119114 t ( key : Path ) : TranslateResult
120115 t ( key : Path , locale : Locale ) : TranslateResult
121116 t ( key : Path , locale : Locale , list : unknown [ ] ) : TranslateResult
Original file line number Diff line number Diff line change 1- /*!
1+ /**
22 * Original Utilities
33 * written by kazuya kawaguchi
44 */
@@ -56,14 +56,13 @@ export function warn(msg: string, err?: Error): void {
5656 }
5757}
5858
59- /*!
59+ /**
6060 * Useful Utilites By Evan you
6161 * Modified by kazuya kawaguchi
6262 * MIT License
6363 * https://github.com/vuejs/vue-next/blob/master/packages/shared/src/index.ts
6464 * https://github.com/vuejs/vue-next/blob/master/packages/shared/src/codeframe.ts
6565 */
66-
6766export const isArray = Array . isArray
6867export const isFunction = ( val : unknown ) : val is Function =>
6968 typeof val === 'function'
You can’t perform that action at this time.
0 commit comments