Skip to content

Commit

Permalink
Fix typescript import
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hamud committed Jul 24, 2017
1 parent 956e45d commit d9c6302
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dist/powerbi-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! powerbi-client v2.3.3 | (c) 2016 Microsoft Corporation MIT */
/*! powerbi-client v2.3.4 | (c) 2016 Microsoft Corporation MIT */
declare module "config" {
const config: {
version: string;
Expand Down Expand Up @@ -1003,7 +1003,7 @@ declare module "factories" {
export const wpmpFactory: IWpmpFactory;
export const routerFactory: IRouterFactory;
}
declare module "powerbi" {
declare module "powerbi-client" {
import * as service from "service";
import * as factories from "factories";
import * as models from 'powerbi-models';
Expand Down
4 changes: 2 additions & 2 deletions dist/powerbi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/powerbi.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/powerbi.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ gulp.task('min:js', 'Creates minified JavaScript file', function () {
.pipe(gulp.dest('./dist'));
});

gulp.task('compile:ts', 'Compile typescript for powerbi library', function () {
gulp.task('compile:ts', 'Compile typescript for powerbi-client library', function () {
webpackConfig.plugins = [
new webpack.BannerPlugin(webpackBanner)
];

return gulp.src(['./src/powerbi.ts'])
return gulp.src(['./src/powerbi-client.ts'])
.pipe(webpackStream(webpackConfig))
.pipe(gulp.dest('dist/'));
});
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": "powerbi-client",
"version": "2.3.3",
"version": "2.3.4",
"description": "JavaScript library for embedding Power BI into your apps. Provides service which makes it easy to embed different types of components and an object model which allows easy interaction with these components such as changing pages, applying filters, and responding to data selection.",
"main": "dist/powerbi.js",
"typings": "dist/powerbi-client.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const config = {
version: '2.3.3',
version: '2.3.4',
type: 'js'
};

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var package = require('./package.json');

module.exports = {
entry: {
'powerbi': './src/powerbi.ts'
'powerbi': './src/powerbi-client.ts'
},
output: {
path: __dirname + "/dist",
Expand Down

0 comments on commit d9c6302

Please sign in to comment.