kuroshiro icon indicating copy to clipboard operation
kuroshiro copied to clipboard

hiragana -> katakana conversion doesn't seems to work

Open proppy opened this issue 6 years ago • 0 comments

Is that the expected behavior?

> kuroshiro.convert('トン', { to: 'hiragana' }).then(console.log)
kuroshiro.convert('トン', { to: 'hiragana' }).then(console.log)
Promise {
  <pending>,
  domain: 
   Domain {
     domain: null,
     _events: 
      { removeListener: [Function: updateExceptionCapture],
        newListener: [Function: updateExceptionCapture],
        error: [Function: debugDomainError] },
     _eventsCount: 3,
     _maxListeners: undefined,
     members: [] } }
> トン

kanakana -> hiragana seems to work as expected

> kuroshiro.convert('とん', { to: 'katakana' }).then(console.log)
kuroshiro.convert('とん', { to: 'katakana' }).then(console.log)
Promise {
  <pending>,
  domain: 
   Domain {
     domain: null,
     _events: 
      { removeListener: [Function: updateExceptionCapture],
        newListener: [Function: updateExceptionCapture],
        error: [Function: debugDomainError] },
     _eventsCount: 3,
     _maxListeners: undefined,
     members: [] } }
> トン

proppy avatar Apr 11 '19 07:04 proppy