debitoor/dot-prop-immutable

Making a path with period

Closed this issue · 1 comments

const testConst = {
    [".github"]: "HelloWorld"
}

Currently if I had to edit something like the above constant testConst, I would write the path as ..github. This I assume proposes a problem as the package simply works on dot seperation. Is there any work around to this problem? If not then can this feature be added?

The solution to this problem is to pass an array instead of a dot seperated string.