Skip to content

Commit

Permalink
Merge pull request #31 from kwonoj/feat-export
Browse files Browse the repository at this point in the history
feat(index): export interfaces
  • Loading branch information
kwonoj authored Oct 1, 2017
2 parents 08b2e7b + 5bbd4e8 commit 4f6cb66
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="0.0.8"></a>
## [0.0.8](https://github.com/kwonoj/cld3-asm/compare/v0.0.7...v0.0.8) (2017-10-01)


### Features

* **index:** export interfaces ([1718a55](https://github.com/kwonoj/cld3-asm/commit/1718a55))



<a name="0.0.7"></a>
## [0.0.7](https://github.com/kwonoj/cld3-asm/compare/v0.0.6...v0.0.7) (2017-09-22)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cld3-asm",
"version": "0.0.7",
"version": "0.0.8",
"description": "WebAssembly based Javascript bindings for google compact language detector 3",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/cldFactory.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LanguageResult } from './cldAsmModule';

export interface LanguageIdentifier {
interface LanguageIdentifier {
/**
* Finds the most likely language for the given text, along with additional
* information (e.g., probability). The prediction is based on the first N
Expand Down Expand Up @@ -48,4 +48,4 @@ interface CldFactory {
create(minBytes?: number, maxBytes?: number): LanguageIdentifier;
}

export { CldFactory };
export { LanguageIdentifier, CldFactory };
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { loadModule } from './loadModule';
export { log, enableLogger } from './util/logger';
export { ENVIRONMENT } from 'emscripten-wasm-loader';
export { LanguageIdentifier, CldFactory } from './cldFactory';
export { LanguageResult } from './cldAsmModule';

0 comments on commit 4f6cb66

Please sign in to comment.