Skip to content

无法使用 require 进行引入,提示 undefined #12

@kosuke-zhang

Description

@kosuke-zhang

import lunar from 'lunar-typescript';

console.log(typeof lunar) --> string
console.log(lunar.Solar) --> undefined

请问这是为什么呀?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions