Giter Club home page Giter Club logo

modern-diacritics's Introduction

Mitsunee

Freelance Web Developer | Open Source Developer and Contributor | Sometimes Translation Volunteer

Mitsunee Mitsunee | Blog

Mastodon: @mitsunee@ieji.de Twitter: @Mitsunee npm: ~mitsunee Discord Server

modern-diacritics's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

paso

modern-diacritics's Issues

Typescript type exports not working

The package.json is missing a types declaration resulting in the error when importing

error TS2307: Cannot find module 'modern-diacritics' or its corresponding type declarations

It would be resolved by adding this to package.json

"types": "./dist/index.d.ts",

Once the package.json is fixed you get

Object literal may only specify known properties, and 'removeDiacritics' does not exist in type 'LatinizeOptions'.

This would probably be resolved by adding this to the LatinizeOptions

removeDiacritics?: boolean;

After those fixes I get the following error

node_modules/modern-diacritics/dist/index.d.ts:5:40 - error TS2307: Cannot find module './maps/types' or its corresponding type declarations.

5 export type { CharList, CharMap } from "./maps/types";
                                         ~~~~~~~~~~~~~~
Found 1 error in node_modules/modern-diacritics/dist/index.d.ts:5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.