Skip to content

Commit 1928f05

Browse files
committed
Merged PR 22374: Fix typescript import
Fix typescript import
2 parents 956e45d + d9c6302 commit 1928f05

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

dist/powerbi-client.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.3 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.4 | (c) 2016 Microsoft Corporation MIT */
22
declare module "config" {
33
const config: {
44
version: string;
@@ -1003,7 +1003,7 @@ declare module "factories" {
10031003
export const wpmpFactory: IWpmpFactory;
10041004
export const routerFactory: IRouterFactory;
10051005
}
1006-
declare module "powerbi" {
1006+
declare module "powerbi-client" {
10071007
import * as service from "service";
10081008
import * as factories from "factories";
10091009
import * as models from 'powerbi-models';

dist/powerbi.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ gulp.task('min:js', 'Creates minified JavaScript file', function () {
162162
.pipe(gulp.dest('./dist'));
163163
});
164164

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

170-
return gulp.src(['./src/powerbi.ts'])
170+
return gulp.src(['./src/powerbi-client.ts'])
171171
.pipe(webpackStream(webpackConfig))
172172
.pipe(gulp.dest('dist/'));
173173
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-client",
3-
"version": "2.3.3",
3+
"version": "2.3.4",
44
"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.",
55
"main": "dist/powerbi.js",
66
"typings": "dist/powerbi-client.d.ts",

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = {
2-
version: '2.3.3',
2+
version: '2.3.4',
33
type: 'js'
44
};
55

File renamed without changes.

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var package = require('./package.json');
22

33
module.exports = {
44
entry: {
5-
'powerbi': './src/powerbi.ts'
5+
'powerbi': './src/powerbi-client.ts'
66
},
77
output: {
88
path: __dirname + "/dist",

0 commit comments

Comments
 (0)