Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added typescript typings #157

Merged
merged 5 commits into from
May 5, 2016
Merged

Added typescript typings #157

merged 5 commits into from
May 5, 2016

Conversation

tomitrescak
Copy link
Contributor

No description provided.

@@ -0,0 +1,10 @@
declare var module: any; // dangerous
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rename this lib directory to config.

@tomitrescak
Copy link
Contributor Author

I have renamed lib to config.

@arunoda
Copy link
Member

arunoda commented May 3, 2016

Great.

}

export function storiesOf(name: string, module: any): Story;
export function action(name: string, ...params: any[]): Function;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's another API called linkTo. Add that too.

@arunoda
Copy link
Member

arunoda commented May 3, 2016

We are currently working on a major refactor at the mantra branch. We are about to release it by next couple of days.
I'll take this with that.

@arunoda arunoda merged commit 47537e8 into storybookjs:master May 5, 2016
timkindberg pushed a commit to timkindberg/react-storybook that referenced this pull request May 10, 2016
* Added typings

* Added typings

* Renamed lib to config

* Updated the type definitions to reflect the module structure.
@shilman shilman added the misc label May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants